imagedata problem

Dar Scott dsc at swcp.com
Sun Aug 8 12:41:04 EDT 2004


On Aug 8, 2004, at 7:16 AM, FMoyer at aol.com wrote:

>>> Does anyone else have this experience? -- I'm trying to analyze the
>>> imagedata
>>> of a whole bunch of grayscale images.

> I'm using 2.2.1 and MacOSX.
>
> But I may be onto an answer -- could have more to do with something I
> probably did wrong in GraphicConverter. Except it still is puzzling 
> that the
> imagedata would be so obviously corrupt while the image looks fine.

See if you get good imageData the second access or after getting 'the 
text' of the image.  If so, use that as a workaround.  This sounds 
familiar.

Maybe you should bugzilla this, especially if you are willing to supply 
RunRev with an example image.  Check the image bugs; this might be 
there, but I think this is different.  I'm going to do a rash of image 
checks in the next beta, so if bugzilla is a bother, I'll look for this 
then.

I think I have seen Revolution gag on some gray PNG files and display a 
squished pink image.  Maybe some gray formats are a problem.

Dar Scott



More information about the use-livecode mailing list