I am under the impression that Java has some built-in ways of reading
image data, but I am new to CFMX/Linux and Java and am not sure how to
leverage this functionality in my code.

I basically need to be able to determine the width, height, and file
size of an image. I had a custom tag that handled this, but it stopped
working when I upgraded to MX6.1. I believe the custom tag used CFFILE
and CFDIRECTORY, along with some code to parse the image headers, to
determine width, height, and file size; however, I would think that
Java can do these same tasks much more efficiently.

I checked the MM Exchange and found a CFC (Imaging CFC, V1.0;
http://www.benorama.com/coldfusion/components/imaging.htm) that
utilizes ImageJ to do all kinds of manipulation, but I found nothing
for MX Linux that simply reads the basic file info I need. I did try
to install the CFC, but it apparently needs some work to run on Linux.

I would settle for getting width and height from Java, and the file
size from CFDIRECTORY.

If anyone can provide a code sample or point me to some good
references on the subject I would greatly appreciate it!

~ Ubqtous ~


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to