get the size of image returns 0

2006-11-29 Thread Viktoras Didziulis
Image myIm is displayed on a card from a ppm file. Answer the size of
image myIm always returns zero (Windows XP, Rev Studio 2.6.1 -2.7.5)... 
And when I alternatively try: answer the size of the imagedata of image 
myIm studio hangs and stops responding. Is it a known bug or whatever else
? I am just trying to measure how much memory in bytes the loaded image
takes...
 
BW 
Viktoras
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: get the size of image returns 0

2006-11-29 Thread Ken Ray
On 11/29/06 6:21 AM, Viktoras Didziulis [EMAIL PROTECTED] wrote:

 Image myIm is displayed on a card from a ppm file. Answer the size of
 image myIm always returns zero (Windows XP, Rev Studio 2.6.1 -2.7.5)...
 And when I alternatively try: answer the size of the imagedata of image
 myIm studio hangs and stops responding. Is it a known bug or whatever else
 ? I am just trying to measure how much memory in bytes the loaded image
 takes...

I think it's because you're looking for the length, not the size of the
imageData. Try this:

  put the length of (the imageData of img myIm)

Ken Ray
Sons of Thunder Software, Inc.
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution