Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
60 views

I am trying to use im4java to create a jpg file with yellow text centered on a black background. Using Imagemagick, the following command line works: convert -size 1400x1050 -stroke yellow -fill ...
Jim Orcheson's user avatar
0 votes
0 answers
68 views

I need to convert an SVG file to a BMP with no antialiasing at all. I'm trying to simplify design entry for use with a program (atlc) which expects as an input a BMP file with only a very few select ...
Rgaddi's user avatar
  • 455
1 vote
1 answer
50 views

I want to combine these two ImageMagick commands, the first one creates a greyscale mask by drawing and combining two gradients, then, combines the merged gradients with the extracted alpha channel ...
Christian Recinos's user avatar
-1 votes
1 answer
48 views

When converting a PSD to a PNG, the black border shadow disappears using ImageMagick Original Image: After converting losing black border shadow using imageMagick: When converting a PSD to a PNG, the ...
Rams's user avatar
  • 59
0 votes
1 answer
62 views

Below is a bash script I have written to correct a certain type of skew produced in some scanned images of text. The script works fine except for the final command, intended to change white background ...
user985675's user avatar
-1 votes
1 answer
53 views

I'm trying to colorize specific regions of an image based on a mask using ImageMagick. The mask contains white pixels where the image should be colorized and black pixels where no colorization should ...
Sulli's user avatar
  • 889
0 votes
0 answers
218 views

below python function convert emf format image to png. from wand.image import Image def process_image(self, image): if image.content_type == "image/x-emf": with image.open() as ...
amir jj's user avatar
  • 264
-1 votes
1 answer
67 views

I'm new to imagemagick, my goal is to make a thumbnail from an image or a video with the selected frame. If I request an out of bounds frame, I'm expecting the command to fail and to not produce ...
anotherdev's user avatar
  • 2,567
-1 votes
1 answer
270 views

I am trying to create a script that splits any input image into 4 different parts (2x2). I tried the following: convert "$1" -crop 50%x50% +repage output%d.jpg With some input images it ...
Marinos An's user avatar
  • 11.3k
-1 votes
1 answer
647 views

Been at this for about 2 hours now, read about 20 articles on Google. Fired everything I had into the terminal and its still not working. Restarted Apache and PHP-FPM several times. My Server ...
Jason Comparetto's user avatar
0 votes
2 answers
416 views

I am trying to draw text on the center of the existing image but not able to achieve desired result: Here is so far i have tried convert src-image.png -gravity center -pointsize 144 -fill red -...
silentsudo's user avatar
  • 7,023
0 votes
2 answers
135 views

When I use Imagemagick to overlay a pure white rectangle over a larger transparent canvas: convert -size 2000x2000 xc:none -fill white -draw "rectangle 900,900 1100,1100" white_box.png Then ...
CRAIG's user avatar
  • 1,029
0 votes
2 answers
346 views

I have a few dozen Kodak CD-ROMs (with a few thousand photo scans) from the early 2000s that contain PCD files. I want to convert them to a maximum quality file (TIF?) for further processing in ...
user2571504's user avatar
-1 votes
1 answer
292 views

I am converting PNG icons to SVG, and results are better with sharp edges in the PNG. No gradients/anti-aliasing etc.. Results so far are ok, I am using a combination of -kmeans, -median, and -...
dtbaker's user avatar
  • 4,945
0 votes
2 answers
134 views

How can I overlap several images so that their centers are directly on top of each others'? I use -layers merge instead of -layers flatten because flatten will crop images to fit inside the dimensions ...
user avatar
0 votes
1 answer
436 views

How can I overlap several images on top of each other using imagemagick? I have a base image layers.png: I want to cut out different parts of the image and overlap them. E.g., overlap the skeletal ...
user avatar
0 votes
1 answer
63 views

I've been battling with this error (bug?) in imagemagick: % convert \ > \( logo: -crop 100x100+300+300 -gravity west \) \ > \( logo: -crop 100x100+300+300 -gravity west \) \ > +append out.png ...
user avatar
0 votes
1 answer
59 views

I have a fairly complicated crop-rotate-splice command, here simplified just to crop: magick "$INPUT" -crop "$WIDTH"x"$HEIGHT" "$DESTINATION" I would like to ...
user avatar
1 vote
1 answer
358 views

I do photogrammetry with Nikon cameras. However, I've noticed that when I save my photos in grayscale in JPG format, I get images with three channels and slightly different values on each JPG with 3 ...
florian.barcet's user avatar
0 votes
1 answer
449 views

I am trying to calculate the FID between 2 datasets, using pytorch-fid. The GitHub link for the code is: https://github.com/mseitzer/pytorch-fid Attempt 1: I started off small, with 2800 images, all ...
shrujaya23's user avatar
0 votes
1 answer
70 views

I'm using the command below to overlay an image (../esrgan/{1}) with another image ({1}) that I scale to 400% and then apply lighten composition to. parallel --bar --xapply convert {1} -filter Lanczos ...
Max's user avatar
  • 191
0 votes
1 answer
138 views

I have folders of images that I'd like to resize to either 3000x2000 or 2000x3000, depending on the orientation. When I attempt to resize the images like this: mogrify -path 'thumbnails' -resize ...
Andy's user avatar
  • 144
-1 votes
1 answer
399 views

On a Plex server running on a Debian 11 I have around 100 albums with the wrong aspect ratio cover art. Plex saving the pictures in several subfolders with the name “com.plexapp.agents.localmedia_*”. ...
Asem Khen's user avatar
  • 377
0 votes
1 answer
118 views

Linux CentOS7 Version: ImageMagick 6.9.11-22 Q16 x86_64 2020-06-29 https://imagemagick.org I have a script that converts a set of jpgs into another set of jpgs. convert -strip -interlace Line -resize ...
ScottD's user avatar
  • 121
0 votes
1 answer
105 views

I want to remove all grey from an image using QuickMagick or RMagic in Ruby. I found this solution here: https://www.imagemagick.org/discourse-server/viewtopic.php?t=36051 for ImageMagick but I don't ...
quaysar's user avatar
1 vote
0 answers
240 views

I am trying to create PNG images from WMF to view such files in a browser. WMF is a drawing of a part with a description table and text in Cyrillic. I'm doing this in PHP using imagick: $image = new ...
Евгений Ващенко's user avatar
0 votes
1 answer
567 views

I need to create resized, lower quality image with transparent/semi transparent WHITE txt watermark. As i`m not imagemagic expert i already do my researches and get to point of following command: ...
MS1's user avatar
  • 3
2 votes
1 answer
1k views

I am trying to transform an image to line drawing, exactly like on this website (default settings): https://tech-lagoon.com/imagechef/en/image-to-edge.html I am using Image Magick to try to achieve ...
BlasterGod's user avatar
0 votes
1 answer
178 views

I have a 32-bit floating point TIFF image that when I try to adjust it with ImageMagick it creates a sRGB image. No matter what I've tried, I cannot adjust the image that creates a grayscale image. ...
Jeshua Lacock's user avatar
0 votes
1 answer
326 views

I was looking into using tikz on latex to generate gifs, my example project is: \documentclass[]{report} \usepackage{tikz} \begin{document} \foreach \angle in {0,10,...,360} { \begin{tikzpicture} ...
Daniel's user avatar
  • 11
0 votes
0 answers
222 views

I have been trying to convert a multi-page color pdf to 2-color B&W (not grayscale). Some research turned up the following command: convert -posterize 2 input.pdf output.pdf which worked, in that ...
Christopher Nuzzi's user avatar
0 votes
1 answer
44 views

I have screenhots of images that were made when the image had a CSS overlay rgba(0,0,0,.4) on it. Here is the original image: and an example of the html that would produce the overlay: <html> &...
richarddmorey's user avatar
0 votes
0 answers
83 views

I am using ImageMagick tool for creating some images with hindi Text but it's not working properly. Fonts: https://fonts.google.com/noto/specimen/Noto+Sans+Devanagari I have tried with below mentioned ...
Aashish Chakravarty's user avatar
0 votes
0 answers
61 views

I have a lot of PNG kept in a folder, and need to convert them all into single multy-layered TIFF using ImageMagick. When I run this command on a desktop Windows, I get the needed TIFF. magick *.png -...
Ivan Z's user avatar
  • 1,622
1 vote
1 answer
389 views

I'm trying to the same that was asked in this old question but in python using wand. so far I have done the following: from wand.image import Image from wand.display import display # Paths to your ...
Alberto's user avatar
  • 494
1 vote
1 answer
458 views

I have a large number of .ARW images that I need to convert to .PNG files for further processing. Using convert myimage.ARW myimage.png works, but brightens up the image significantly. How do I ...
requiemman's user avatar
0 votes
1 answer
150 views

I am using MagickImage to convert images from my command prompt. However, it does not work when I try to use the same command with a c# process. Any ideas why that may be? Here's my code: `private ...
Costi2m's user avatar
0 votes
3 answers
790 views

I am looking for an image magick command that will help me transform black and white outline images (doodle sketches) to perfect white background and perfect lines (even no antialiasing) that are ...
BlasterGod's user avatar
0 votes
1 answer
139 views

Why do I want to display two different font sizes of text in a composite image, but only the first is displayed? convert \( -resize "1000x1000^" -blur 50x5 "https://example.com/origin....
user3474300's user avatar
0 votes
1 answer
142 views

I want to apply kmeans to an image with an alpha mask. It should only work on the colors that are visible. I'm hoping to one-line it. Starting image: Naively apply kmeans (whoops, all one color): ...
user2183336's user avatar
1 vote
2 answers
170 views

Suppose i have a long chat screen which i want to split into the chunks. But i want overlapping between chunks for editing them after with Gimp. I use right now like this: convert chat.png -crop 100%...
user avatar
0 votes
1 answer
476 views

I am trying to see if I can reduce the bytes of a PNG by changing the png color type. I am trying to keep the dimensions as high as possible (100 or 150 ideally). The images are not complex and I ...
lcj's user avatar
  • 1,917
0 votes
0 answers
272 views

I tried to convert .ps file which replace in my home directory using convert intensity.ps intensity,jpg but i got some error Error: /undefined in Standard+_Encoding Operand stack: Execution stack: %...
Yoga Dharma's user avatar
0 votes
1 answer
170 views

I'm using convert to generate images with a fade gradient, converting images like this: to images like this (note the fade at the bottom): The source images (e.g., first image above) are PNGs ...
richarddmorey's user avatar
-1 votes
1 answer
387 views

I do understand from the imagemagick documentation that we do use stream command for processing large images. Imagemagick Stream Interface The question i have is: how do we use the stream command in ...
John Cooper's user avatar
0 votes
2 answers
196 views

I have a routine that uses PHP/ImageMagick to loop through a .psd and save the layers as PNG files. I now want to be able to output them as base64 in a JSON object instead without the intermediate ...
Selling Systems's user avatar
0 votes
2 answers
273 views

I have a transparent ".png" image and I want to create a new image of the given width and height by repeating that image. When I do this command from console: /usr/bin/convert -size ...
Arto Avag's user avatar
  • 171
0 votes
1 answer
86 views

I have a png file and a pdf file with two pages and I'd like to create a third png file with the content of the 3 images one on top of the other. Running the following commands creates the file as ...
Julián Berbel Alt's user avatar
1 vote
1 answer
100 views

I tried with cropping images to 5862x367. However, it crops to 367x5862. I tried the following code: convert -crop 5862x367+0+0 +repage "/Users/ramakrishnanbalakrishnan/sites/img/test_in.JPG&...
Rams's user avatar
  • 59
0 votes
0 answers
29 views

When I tried to convert the PDF to an image, the resulting image can be different from the original PDF. This is my pdf this is convert pdf to image output file The resulting image may have a ...
Manibalan K's user avatar

1
2 3 4 5
29