jywarren/mapknitter — Issue #76: "Bogus input colorspace" for "convert" command in map export
Author: jywarren
Created: 2011-12-26 18:55:14+00:00
State: open
Labels: bugs, exporting

Lines 191 and on of https://github.com/jywarren/mapknitter/blob/master/app/models/warpable.rb typically generate something like:

convert -background transparent -contrast-stretch 0 /home/warren/sites/mapknitter.org/public/warps/ein-karem-working/3545-IMG_5407.JPG -crop 4716x4716+0+0! -background transparent -flatten -matte -virtual-pixel white +antialias -distort Perspective '0,0 0,3746 3648,0 1334,0 3648,2736 3901,1458 0,2736 2434,4716' -background transparent -flatten +repage /home/warren/sites/mapknitter.org/public/warps/ein-karem/3545.tif

Which is now throwing:

"convert: Bogus input colorspace. `JPEGLib' @ warning/tiff.c/TIFFErrors/493."

Adding -colorspace RGB in various locations doesn't seem to help.

http://www.imagemagick.org/script/command-line-options.php#colorspace

This is likely due to the upgrade from ImageMagick 6.5.x to 6.6.x when we upgraded the server to Ubuntu Server 11.10.

Crappy. Not making much progress. Help!