[vtkusers] GetPixelData Incorrect
Kevin H. Hobbs
hobbsk at ohiou.edu
Sat Oct 25 10:34:03 EDT 2008
I've been having trouble saving images on my workstation.
Everything looks fine on the screen, but the saved images have many pixels of
incorrect color.
This makes almost every test on this workstation fail.
http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=204175
Strangely I'm able to save RGBA images.
I tried to set all of the pixels to blue gray [84 89 109], and then read them
back. When they aren't what I set I print out the values that I get. This
gives me :
...
Pixel data not what we set.
[109 255 84]
Pixel data not what we set.
[89 109 255]
Pixel data not what we set.
[255 84 89]
Pixel data not what we set.
[109 255 84]
Pixel data not what we set.
[89 109 255]
The source and the image I get are attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.png
Type: image/png
Size: 107 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081025/2201c428/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: window_test.cxx
Type: text/x-c++src
Size: 1730 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081025/2201c428/attachment.cxx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081025/2201c428/attachment.pgp>
More information about the vtkusers
mailing list