Search found 17 matches

by chaddjohnson
2020-01-10T00:16:49-07:00
Forum: Bugs
Topic: Compositing using CMYK images results in sRGB image
Replies: 4
Views: 2960

Re: Compositing using CMYK images results in sRGB image

Thanks Fred for reproducing the issue.

I just tested some previous versions of ImageMagick. The issue is not present in 6.9.10-44, while the issue is present in 6.9.10-71. So the issue began sometime between those two versions.

For now I will stick with 6.9.10-44.
by chaddjohnson
2020-01-09T23:22:06-07:00
Forum: Bugs
Topic: Compositing using CMYK images results in sRGB image
Replies: 4
Views: 2960

Compositing using CMYK images results in sRGB image

Hello, after compiling ImageMagick 6.9.10-84 and 7.0.9-14, I am finding that compositing two CMYK images results in a sRGB output image. This is unexpected. With previous ImageMagick versions, compositing two CMYK images would produce a CMYK image. Here is the command I am using with an older versio...
by chaddjohnson
2019-09-30T12:10:48-07:00
Forum: Users
Topic: conversion to pdf using aws lambda / node.js does not work
Replies: 11
Views: 11403

Re: conversion to pdf using aws lambda / node.js does not work

Hi, not sure if this will help, but here is how I got PDF support working in Lambda: https://gist.github.com/bensie/56f51bc3 ... nt-2983885
by chaddjohnson
2019-04-23T10:15:14-07:00
Forum: Users
Topic: Why does identifying colorspace use 7GB of memory?
Replies: 2
Views: 3355

Re: Why does identifying colorspace use 7GB of memory?

fmw42 wrote:
2019-04-20T21:08:35-07:00
Is the TIFF file compressed? If so, then when expanded it might be much larger. Otherwise, wait for the developers or someone who knows the software better to respond.
Yep, the TIFF is compressed.
by chaddjohnson
2019-04-20T17:03:12-07:00
Forum: Users
Topic: Why does identifying colorspace use 7GB of memory?
Replies: 2
Views: 3355

Why does identifying colorspace use 7GB of memory?

Hello, When using identify -format %[colorspace] example.tif to identify the colorspace of an 88MB CMYK TIFF, over 7GB of RAM is used on my machine. Why is this? Is there by chance a less resource-intensive way for ImageMagick to identify colorspace? I am able to run the following on my Mac with alm...
by chaddjohnson
2019-04-15T09:27:48-07:00
Forum: Users
Topic: convert with -profile fails for custom compiled ImageMagick 7
Replies: 11
Views: 7652

Re: convert with -profile fails for custom compiled ImageMagick 7

Your command works for us and returns expected results. We'll need a stack trace. Perhaps the bug is in the LCMS library. Install gdb and type these commands: $ gdb convert run /tmp/input.jpg -profile /var/task/src/color-profiles/AdobeRGB1998.icc -profile /var/task/src/color-profiles/USWebCoatedSWO...
by chaddjohnson
2019-04-14T12:50:47-07:00
Forum: Users
Topic: convert with -profile fails for custom compiled ImageMagick 7
Replies: 11
Views: 7652

Re: convert with -profile fails for custom compiled ImageMagick 7

You can check most of the delegate library versions using convert -list format and look at the end of the line for each to see the version number and library. Current libjpeg should read 90 Here is the output of that in the Lambda environment. Does anything look off or missing? I see "libjpeg-turbo...
by chaddjohnson
2019-04-14T08:14:55-07:00
Forum: Users
Topic: convert with -profile fails for custom compiled ImageMagick 7
Replies: 11
Views: 7652

Re: convert with -profile fails for custom compiled ImageMagick 7

Is it possible a library could be missing in the Lambda environment? Maybe ImageMagick is trying to load libsomething.so, it fails to find the library, and it silently fails? If so, I wonder if there is a way to test for this. Maybe a verbose debug option. Or, maybe the Lambda environment has an old...
by chaddjohnson
2019-04-14T07:31:27-07:00
Forum: Users
Topic: convert with -profile fails for custom compiled ImageMagick 7
Replies: 11
Views: 7652

Re: convert with -profile fails for custom compiled ImageMagick 7

Do you have read permissions from /var? Are your profiles actually there? I know little about AWS. But I am not sure you should be using profiles in /var nor images in /tmp. If you put your images and profiles in some other user directory, does it work? Are your profiles corrupt? Can you transfer t...
by chaddjohnson
2019-04-14T07:27:22-07:00
Forum: Users
Topic: convert with -profile fails for custom compiled ImageMagick 7
Replies: 11
Views: 7652

Re: convert with -profile fails for custom compiled ImageMagick 7

Your command works for us and returns expected results. We'll need a stack trace. Perhaps the bug is in the LCMS library. Install gdb and type these commands: $ gdb convert run /tmp/input.jpg -profile /var/task/src/color-profiles/AdobeRGB1998.icc -profile /var/task/src/color-profiles/USWebCoatedSWO...
by chaddjohnson
2019-04-13T12:23:02-07:00
Forum: Users
Topic: convert with -profile fails for custom compiled ImageMagick 7
Replies: 11
Views: 7652

Re: convert with -profile fails for custom compiled ImageMagick 7

What do you get from convert -version Do you have LCMS2 delegate installed? See http://www.linuxfromscratch.org/blfs/view/cvs/general/lcms2.html Hi! When I run convert -version in the Lambda environment I get Version: ImageMagick 7.0.8-40 Q16 x86_64 2019-04-13 https://imagemagick.org Copyright: © 1...
by chaddjohnson
2019-04-13T12:00:32-07:00
Forum: Users
Topic: convert with -profile fails for custom compiled ImageMagick 7
Replies: 11
Views: 7652

convert with -profile fails for custom compiled ImageMagick 7

I am experiencing a strange problem with a custom compiled version of ImageMagick 7 (7.0.8-40). I am running this in an AWS Lambda instance. When I run convert passing color profiles (copies of ones I've used before), the command fails with SIGABRT: convert /tmp/input.jpg -profile /var/task/src/colo...
by chaddjohnson
2018-11-28T16:39:58-07:00
Forum: Users
Topic: Unable to trim whitespace from this image
Replies: 6
Views: 5220

Re: Unable to trim whitespace from this image

Will do. Thanks!
by chaddjohnson
2018-11-28T14:02:34-07:00
Forum: Users
Topic: Unable to trim whitespace from this image
Replies: 6
Views: 5220

Re: Unable to trim whitespace from this image

It's due to the way this image was generated. It was composed with another image, and the mask was smaller than the other image, so that caused the line.

Sorry if I have my terms or usages wrong -- I'm a developer, and IM is new to me :)