Resizing CMYK images

Hello,

I have a few applications that resize user-uploaded images and I have run
into some issues with some images: images with the wrong color mode (CYMK,
Color Index) as well as jpg’s saved as png’s. I have been looking into this
blog post by Ben Nadel:

But none of those address the color mode issue. I get an error “Unknown
image type 0”.

I was wondering if anyone had any suggestions to help deal with this issue.

Jack

Hi Jack,

This thread might help you out: Redirecting to Google Groups https://groups.google.com/forum/#!topicsearchin/lucee/imagemagick/lucee/zHcw07CEbIM
or msgs: https://groups.google.com/d/msg/lucee/zHcw07CEbIM/S7nN4a6oDQAJ https://groups.google.com/d/msg/lucee/zHcw07CEbIM/S7nN4a6oDQAJ
https://groups.google.com/d/msg/lucee/zHcw07CEbIM/U9oVIjARDgAJ https://groups.google.com/d/msg/lucee/zHcw07CEbIM/U9oVIjARDgAJ

Kind regards, Paul KlinkenbergOp 28 apr. 2016, om 17:25 heeft Jack Pilowsky <@Jack_Pilowsky> het volgende geschreven:

Hello,

I have a few applications that resize user-uploaded images and I have run into some issues with some images: images with the wrong color mode (CYMK, Color Index) as well as jpg’s saved as png’s. I have been looking into this blog post by Ben Nadel:

Reading Images With Fallback Approaches In ColdFusion http://www.bennadel.com/blog/2458-reading-images-with-fallback-approaches-in-coldfusion.htm

But none of those address the color mode issue. I get an error “Unknown image type 0”.

I was wondering if anyone had any suggestions to help deal with this issue.

Jack


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com mailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/52a35b92-d781-4c3b-beae-5502551281fd%40googlegroups.com https://groups.google.com/d/msgid/lucee/52a35b92-d781-4c3b-beae-5502551281fd%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.