Search found 14 matches
- 2019-09-30T12:10:48-07:00
- Forum: Users
- Topic: conversion to pdf using aws lambda / node.js does not work
- Replies: 11
- Views: 19561
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
- 2019-04-23T10:15:14-07:00
- Forum: Users
- Topic: Why does identifying colorspace use 7GB of memory?
- Replies: 2
- Views: 4233
- 2019-04-20T17:03:12-07:00
- Forum: Users
- Topic: Why does identifying colorspace use 7GB of memory?
- Replies: 2
- Views: 4233
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 ...
- 2019-04-15T09:27:48-07:00
- Forum: Users
- Topic: convert with -profile fails for custom compiled ImageMagick 7
- Replies: 11
- Views: 13163
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 ...
- 2019-04-14T12:50:47-07:00
- Forum: Users
- Topic: convert with -profile fails for custom compiled ImageMagick 7
- Replies: 11
- Views: 13163
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 ...
- 2019-04-14T08:14:55-07:00
- Forum: Users
- Topic: convert with -profile fails for custom compiled ImageMagick 7
- Replies: 11
- Views: 13163
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 ...
- 2019-04-14T07:31:27-07:00
- Forum: Users
- Topic: convert with -profile fails for custom compiled ImageMagick 7
- Replies: 11
- Views: 13163
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 ...
- 2019-04-14T07:27:22-07:00
- Forum: Users
- Topic: convert with -profile fails for custom compiled ImageMagick 7
- Replies: 11
- Views: 13163
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 ...
- 2019-04-13T12:23:02-07:00
- Forum: Users
- Topic: convert with -profile fails for custom compiled ImageMagick 7
- Replies: 11
- Views: 13163
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 ...
- 2019-04-13T12:00:32-07:00
- Forum: Users
- Topic: convert with -profile fails for custom compiled ImageMagick 7
- Replies: 11
- Views: 13163
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 ...
- 2018-11-28T16:39:58-07:00
- Forum: Users
- Topic: Unable to trim whitespace from this image
- Replies: 6
- Views: 6862
Re: Unable to trim whitespace from this image
Will do. Thanks!
- 2018-11-28T14:02:34-07:00
- Forum: Users
- Topic: Unable to trim whitespace from this image
- Replies: 6
- Views: 6862
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
Sorry if I have my terms or usages wrong -- I'm a developer, and IM is new to me
- 2018-11-28T12:36:36-07:00
- Forum: Users
- Topic: Unable to trim whitespace from this image
- Replies: 6
- Views: 6862
Re: Unable to trim whitespace from this image
That was it! I totally missed that. Thank you! I was able to add some transparent padding like so:
Code: Select all
convert input.png -gravity north -background transparent -splice 0x1 output.png
- 2018-11-27T21:07:29-07:00
- Forum: Users
- Topic: Unable to trim whitespace from this image
- Replies: 6
- Views: 6862
Unable to trim whitespace from this image
I am trying to trim whitespace (which is actually transparent) from this image: https://i.ibb.co/MP9LcTh/image.png
The following command strangely fails to trim from the left side of the image:
Any idea why?
The following command strangely fails to trim from the left side of the image:
Code: Select all
convert input.png -fuzz 5% -trim output.png