Blackman image interpolation don't support grayscale images

Description

The default image interpolation should have a wide support for different color spaces (RGB, CMYK, grayscale)

Error when using default ftInterpolation:
For gray scale images the interpolation argument must be one of: NEAREST|BILINEAR|BICUBIC|HIGHESTQUALITY|HIGHQUALITY|MEDIUMQUALITY|HIGHESTPERFORMANCE|HIGHPERFORMANCE|MEDIUMPERFORMANCE

Not sure why blackman was chosen, so I attached some test jpg's that should work on standard farcry core installation.

Environment

CF9 AND CF10

Attachments

3

Activity

KenKJuly 22, 2014 at 12:12 AM

It will now check the colorspace of the uploaded image and use 'highQuality' interpolation if it's gray scale image. Otherwise, it will use 'blackman' as before.

Geoff BowersJune 12, 2014 at 10:57 PM

Might be good to move this discussion to the forum, as this will affect older users and the SEO on the bug tracker is non-existant.

Geoff BowersJune 12, 2014 at 10:56 PM

Blackman was used as our testing showed it had the highest quality to performance of the choices at the time. But if it doesn't do greyscale at all we might need to rethink that decision. What version of ColdFusion is this?

Former userJune 12, 2014 at 9:43 AM

If speed is important, highPerformance delivers at almost the same speed as blackman.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created June 12, 2014 at 9:39 AM
Updated July 22, 2014 at 12:12 AM
Resolved July 22, 2014 at 12:12 AM