imagemagick-aws-lambda-2 icon indicating copy to clipboard operation
imagemagick-aws-lambda-2 copied to clipboard

Convert Issue (Possibly fixed by latest Image Magick build)

Open reply2srij opened this issue 3 years ago • 0 comments

I have integrated this layer to my Lambda to use ImageMagick's convert function (TIF or JPG to PNG) and resize functions. JPG works fine, but TIF is giving the following error

org.im4java.core.CommandException: convert: improper image header `/tmp/XYZ_IMG.TIF' @ error/tiff.c/ReadTIFFImage/1388

Did anyone using this layer encounter a similar issue? If yes, can you please post how you resolved the issue?

https://github.com/ImageMagick/ImageMagick/issues/1091 says newer Image Magick build would resolve the issue. Highly appreciate it if a newer build version layer is provided for use by the community.

reply2srij avatar Jan 05 '22 19:01 reply2srij