BTW, not that houseoffusion isn't a fabulous place for questions like this, since many other people also use imagecfc... but I get immediate notification of anything posted to all of the forums at opensourcecf.com(home of imagecfc)
http://www.opensourcecf.com/forums/forums.cfm >From time to time I do miss questions like this on cf-talk. Rick On 2/26/07, Rick Root <[EMAIL PROTECTED]> wrote: > > On 2/25/07, Michael E. Carluen <[EMAIL PROTECTED]> wrote: > > > > > I am currently using Rick's ImageCFC. Using the getImageInfo method, it > > returns a numeric equivalent to jpg (5) or gif(13). I noticed that the > > CFC > > uses the standard getType() method. Does anyone know where I can lookup > > the > > numeric equivalents of all other graphic file formats? > > > > You can find the list of constant values returned by the BufferedImage > getType() method here: > > http://java.sun.com/j2se/1.4.2/docs/api/constant-values.html#java.awt.image.BufferedImage.TYPE_3BYTE_BGR > > > Descriptions are here: > > > http://java.sun.com/j2se/1.4.2/docs/api/java/awt/image/BufferedImage.html#field_summary > > Most all of this stuff is over my head =) > > I can say that the image type is *NOT* necessarily related to the image > format (jpeg, gif)... type 13, for example, is indexed color. GIF images > are not the only images that use this format - however all GIF images are > indexed color. > > type 5 is most typical for JPG images (3 byte BGR), but some JPEG images - > particularly those with embedded color profiles, end up being TYPE_CUSTOM > (0) and imageCFC can't handle them. > > Rick > > -- I'm not certified, but I have been told that I'm certifiable... Visit http://www.opensourcecf.com today! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270662 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

