>- see footer for list info -<
Has anyone seen this error before when using imagewrite on CF8:

Error Occurred While Processing Request      X Resolution    X Resolution
???

many thanks for being helpful CF.

I'm reading an image, using imageScaleToFit() on it, and then trying to
imageWrite()

Here's the code (the file exists in the following dir)

image =
imageread(expandpath('images/items/originals/18th-Century-dresser-2000713518.JPG'));

imageScaleToFit(image,1000,"");
imageWrite(image,expandpath('18th-Century-dresser-2000713518.JPG'));

doesn't appear to be anything wrong there....

If I dump 'image' after the imageread I get:

alpha_channel_support NO  alpha_premultiplied NO  bits_component_1 8
bits_component_2 8  bits_component_3 8  colormodel_type ComponentColorModel
colorspace Any of the family of RGB color spaces  num_color_components 3
num_components 3  pixel_size 24  transparency OPAQUE
as well as height and width attributes of 1776 and 1501 respectively.

What's odder is that if I open the image in photoshop and then save it out,
I get no error when I try the new file + the dump on 'image' gives me
exactly the same attributes as the previous pre-photoshop version.

wha? All the image attributes look ok to me - no CMYK etc.

Anyone any clues?
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to