Thank for both of your responses Rick. That explanation below was helpful
(or at least it was nice to know that what I thought it was, was actually
incorrect ;-)  ).  Again, thanks Rick.

- Michael


> -----Original Message-----
> From: Rick Root [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 26, 2007 5:26 AM
> To: CF-Talk
> Subject: Re: imageCFC getImageInfo ImageType question
> 
> 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
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270681
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to