Hi all

I want to retrieve the color depth (bpp) of an image file on disk. I am already using the following to get the image height and depth

SET PROC TO GDIPlus.prg ADDI
x = "K:\DataFind\Charlestown\Burial Index\pge0001.tif"
oi = CREATEOBJECT("gdiimage",x)
? oi.imgHeight
? oi.imgWidth

Any suggestions ?

Why does it say in the header of GDIPlus.prg:

* an instance of gdiplusinit should be created before
* and released after using any of gdi+ objects

Does that mean I should relly do this

o =CREATEOBJECT("gdiplusinit")
oi = CREATEOBJECT("gdiimage",x)

Thanks







_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to