1. Pixmap "depth"
- Posted by Travis Beaty <travis at travisbeaty.us> Aug 11, 2004
- 388 views
Hello all! Graphics is not my fort=E9, but I'm having to wrap some graphics functions= =20 for a library that I'm working on. One of these functions returns the=20 "depth" of a pixmap. Could someone please define the meaning of a pixmap's depth? During=20 testing, I tried two different images ... one, a pixmap icon, and the=20 other, a JPEG image from my digital camera. Both reported a "depth" of=20 16. Because I don't know what "depth" means, I can't tell whether that=20 is the right answer, or whether I screwed something up. Thanks, Travis Beaty.
2. Re: Pixmap "depth"
- Posted by irv mullins <irvm at ellijay.com> Aug 11, 2004
- 381 views
Travis Beaty wrote: > Could someone please define the meaning of a pixmap's depth? During=20 > testing, I tried two different images ... one, a pixmap icon, and the=20 > other, a JPEG image from my digital camera. Both reported a "depth" of=20 > 16. Because I don't know what "depth" means, I can't tell whether that=20 > is the right answer, or whether I screwed something up. Number of bits per pixel. A depth of 1 would be black or white, 8 would 1 of 256 colors, etc. You can create and save a test image in various BPP using most graphics programs. Irv
3. Re: Pixmap "depth"
- Posted by "Greg Haberek" <ghaberek at wowway.com> Aug 11, 2004
- 390 views
Perhaps they mean color depth? 2, 8, 16, 256, or 24-bit (16 million) colors. Its only a suggestion but it might be right. ~Greg ----- Original Message ----- From: "Travis Beaty" <travis at travisbeaty.us> To: <EUforum at topica.com> Sent: Wednesday, August 11, 2004 5:35 PM Subject: Pixmap "depth" > > > Hello all! > > Graphics is not my fort=E9, but I'm having to wrap some graphics functions= > =20 > for a library that I'm working on. One of these functions returns the=20 > "depth" of a pixmap. > > Could someone please define the meaning of a pixmap's depth? During=20 > testing, I tried two different images ... one, a pixmap icon, and the=20 > other, a JPEG image from my digital camera. Both reported a "depth" of=20 > 16. Because I don't know what "depth" means, I can't tell whether that=20 > is the right answer, or whether I screwed something up. > > Thanks, > > Travis Beaty. > > > >
4. Re: Pixmap "depth"
- Posted by Travis Beaty <travis at travisbeaty.us> Aug 11, 2004
- 420 views
Hello Irv. Super, thanks. I checked out the digital camera image I tested with, and found that the depth is indeed 16. I've also changed a few settings on my email client (Thunderbird), to see if I can get all those darn "=20"s out of my email. Sorry about that mess, folks. Travis. irv mullins wrote: >Number of bits per pixel. >A depth of 1 would be black or white, 8 would 1 of 256 colors, etc. >You can create and save a test image in various BPP using most graphics >programs. > >Irv >