JamesManke
Programmer
I recently started using Alagad Image Component and to my surprise found that once reading an image and then writing it, the file size was larger than the original. Here is am example below...
<cfset myImage.readImage("my_path\test.jpg") />
<cfset myImage.writeImage("my_path\image.jpg", "jpg") />
The file size on the original image was 16.79kb
and the one Image Component created was 33.67kb.
I even tried this...
<cfset myImage.readImage("my_path\test.jpg") />
<cfset myImage.writeImage("my_path\image.jpg", "jpg", "50") />
and the file size was still larger and crappier quality!
Help me on this one, this is a major problem in my opinion for fast loading pages!
Any ideas or comments?
Thanks
<cfset myImage.readImage("my_path\test.jpg") />
<cfset myImage.writeImage("my_path\image.jpg", "jpg") />
The file size on the original image was 16.79kb
and the one Image Component created was 33.67kb.
I even tried this...
<cfset myImage.readImage("my_path\test.jpg") />
<cfset myImage.writeImage("my_path\image.jpg", "jpg", "50") />
and the file size was still larger and crappier quality!
Help me on this one, this is a major problem in my opinion for fast loading pages!
Any ideas or comments?
Thanks