Questions tagged [node-imagemagick]

node-imagemagick is an Imagemagick module for Node.

node-imagemagick is an module for Node.

Github repository

55 questions
1
vote
1 answer

Cut rectangle from the image

I have a png image. How can I cut a small rect from this image using imagemagick? (make a transparent hole in image) For example: Source: Destination:
Rodion
  • 521
  • 2
  • 10
1
vote
1 answer

Node ImageMagick resize doesn't preserve file name

A lot of solutions are pointing toward's using mogrify, which would work great if it was part of the Node js implementation. All I need to do is resize my images and retain the file names, but place them in a separate "resized" folder. Here's what…
1
vote
1 answer

Using node-imagemagick to 'crop' an image uploaded to S3

I'm building functionality that allows users to upload an image, then crop it to a square (for profile pictures etc...) Currently, the process works like this: User selects image from hd Image is uploaded to S3 S3 Path is sent back to view, and…
Alex
  • 37,502
  • 51
  • 204
  • 332
0
votes
0 answers

Specify Pango markup font (node ImageMagick)

I have a set of local fonts that I'd like to apply on my text in PangoML. AFAIK the way to specify fonts is through the font family attribute in the span element. But where/how can I specify a path to the otf file containing the fonts I'd like to…
0
votes
1 answer

nodejs - GraphicMagick - Add images in a frame to create another image

I have a sample image frame(see below) saved in the server and a function that will take an array of image URLs, crop the images into a circular shape to match the height /width of a cat image in the frame (60px x 60px) and replace cats from the…
SUMIT NIHALANI
  • 387
  • 1
  • 10
0
votes
0 answers

maxBuffer length exceeded error on the imagemagick identify method

I try to identify a pdf of 200 pages with imagemagick but its gives me a error ' maxBuffer length exceeded' i tried to change my policy file i use the newest imagemagick i have installed ghostscript for the pdf