Lines 191 and on of /app/models/warpable.rb (see source link below) typically generate something like:
Code: Select all
convert -background transparent -contrast-stretch 0 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 3545.tif
Code: Select all
convert: Bogus input colorspace. `JPEGLib' @ warning/tiff.c/TIFFErrors/493.
Code: Select all
convert 3545-IMG_5407.JPG 3545.tif
Adding -colorspace RGB in various locations doesn't seem to help, as has been suggested in some forums I've perused.
http://www.imagemagick.org/script/comma ... colorspace
Crappy. Not making much progress. Please help!
Context here: https://github.com/jywarren/mapknitter/issues/76