Search found 10 matches

by redserpent7
2018-08-12T23:05:12-07:00
Forum: Users
Topic: ImageMagick hangs when resizing png files when running from an AWS Lambda
Replies: 7
Views: 13316

Re: ImageMagick hangs when resizing png files when running from an AWS Lambda

Have you tried a command with no operations, simply reading the png and writing a png? Thanks, for some reason it never crossed my mind to break down the arguments. I tried omitting one argument at a time from the command til I found the culprit. the '-quality' argument is causing the issue. Its wo...
by redserpent7
2018-08-12T03:35:48-07:00
Forum: Users
Topic: ImageMagick hangs when resizing png files when running from an AWS Lambda
Replies: 7
Views: 13316

Re: ImageMagick hangs when resizing png files when running from an AWS Lambda

Just a thought as there is a read error and I thought the [0] could be causing the problem. Yeah thats not the issue, as I said the same arguments work on an EC2 instance, the hang only happens when the command is executed from an AWS Lambda function. I just want to know if there is any additional ...
by redserpent7
2018-08-12T01:52:42-07:00
Forum: Users
Topic: ImageMagick hangs when resizing png files when running from an AWS Lambda
Replies: 7
Views: 13316

Re: ImageMagick hangs when resizing png files when running from an AWS Lambda

Out of interest why do you have [0] after your png name. I thought the [0] was just used for multilayer files like photoshop,pdf etc. We never thought much of it. We also resize tiff images so we always append [0] to the end of filenames. Never had an issue with pngs or jpegs when using that. I tri...
by redserpent7
2018-08-12T01:32:18-07:00
Forum: Users
Topic: ImageMagick hangs when resizing png files when running from an AWS Lambda
Replies: 7
Views: 13316

ImageMagick hangs when resizing png files when running from an AWS Lambda

Hi, I have an AWS lambda function that is used to resize images (jpgs and pngs). ImageMagick works fine when converting jpgs. However, when I try to resize a png, it hangs indefinitely. I am not sure why its doing that, I tried setting my lambda function to timeout at 5 minutes, increased the memory...
by redserpent7
2017-12-05T08:34:26-07:00
Forum: Users
Topic: Coders, filters and configuration paths
Replies: 2
Views: 3833

Re: Coders, filters and configuration paths

I know nothing about "AWS lambda function". Is it a permissions problem? I don't think its a permission problem. I opened a linux EC2 instance and copied the package binaries, libs and files. set the environment variables as mentioned in the original post and I get the same error. As for ...
by redserpent7
2017-12-05T07:30:05-07:00
Forum: Users
Topic: building a static ImageMagick binary
Replies: 0
Views: 14354

building a static ImageMagick binary

Hi, I am trying to build a static ImageMagick binary to bundle in an AWS lambda function. I have built and installed the following libraries all from source: JasPer-2.0.14 Little CMS-1.19 Little CMS-2.9 libexif-0.6.21 libjpeg-turbo-1.5.2 libpng-1.6.32 LibTIFF-4.0.9 libwebp-0.6.1 OpenJPEG-2.3.0 JBIG-...
by redserpent7
2017-12-05T07:18:05-07:00
Forum: Users
Topic: Coders, filters and configuration paths
Replies: 2
Views: 3833

Coders, filters and configuration paths

Hi, I am trying to bundle ImageMagick 7 in an AWS lambda function. I build ImageMagick from source with support for jpeg, png, webp, tiff, openjp2 and jbig. The library compiled fine and both magick and identify worked with no issues. I copied the binaries, libraries along with the coders, filters a...
by redserpent7
2016-03-27T23:57:00-07:00
Forum: Users
Topic: ImageMagick with JP2 support
Replies: 2
Views: 5536

Re: ImageMagick with JP2 support

Sorry for not being clear, I pulled the IM code from Github which I assume is 7.0.0 ATM. I also must say that I was able to configure and build IM on a clean server so I am not entirely sure why its failing. I wish to know where IM is looking for the OpenJPEG library and how its determining that its...
by redserpent7
2016-03-27T07:31:30-07:00
Forum: Users
Topic: Compiling from source fail on Ubuntu Trusty
Replies: 0
Views: 5979

Compiling from source fail on Ubuntu Trusty

I am trying to compile and install from source on Ubuntu 14.04 but make gets interrupted with the following error: /bin/grep: /usr/lib/x86_64-linux-gnu/libjpeg.la: No such file or directory /bin/sed: can't read /usr/lib/x86_64-linux-gnu/libjpeg.la: No such file or directory libtool: error: '/usr/lib...
by redserpent7
2016-03-27T04:35:33-07:00
Forum: Users
Topic: ImageMagick with JP2 support
Replies: 2
Views: 5536

ImageMagick with JP2 support

I am trying to install ImageMagick with JP2 compatibility but I cannot seem to be able to do that. I downloaded the OpenJPEG2 delegate from https://github.com/uclouvain/openjpeg and installed it to /usr, Downloaded the latest ImageMagick and when I run ./configure I get the following: Delegate Libra...