1
vote
2answers
186 views

Convert image with imagemagick command line convert tool

I have an image Image.png. How do I use the ImageMagick command convert to make this file into a Image.jpg file with the following requirements: File size is 200~500 kb. Resolution in not less than ...
1
vote
2answers
1k views

Command line convert webp to jpg?

I'm using ubuntu 12.04. I've installed libwebp2 & libwebp-dev So far, no example found on the net of converting webp to jpg. Some webp files can easily converted by using imagemagick with ...
1
vote
1answer
114 views

Define length and scale picture

Is there any program under linux where I can do the following: Suppose I have for example a scan of a drawing on a squared paper and suppose that the squares of the original paper have any distance ...
3
votes
4answers
2k views

convert single-page landscape pdf into rescaled double-page portrait pdf

I'm having trouble using convert to do the following: I have a bunch of single-page pdf files whose geometry corresponds to a landscape A4 sheet. The actual content is visually split in 2 pages. ...
4
votes
1answer
445 views

Resize a very tiny xcf image without blurring or dithering it

I have some drawings I made with an Intuos tablet. All of these drawings are 25x35 or so. The color of each pixel was very carefully selected. They're kind of like 'miniatures.' I need to resize ...
2
votes
1answer
1k views

Convert pdf to jpg keeping the same name; resize & create thumbs then rename?

I have a lot of pdf files (3308) on which I must apply four steps: 1) I have to convert all to jpg I found this little script on the web with ImageMagick: batch converting pdf to jpg I want to do ...
5
votes
1answer
925 views

imagemagick creating one big image by piling up thousand of images of the same width?

I've got a few tens of thousands of images all of 2000 pixel width, and I would like to pile them up in one big image of summed up height and 2000 pixel width. I guess there must be a way to do that ...
4
votes
1answer
2k views

Resizing and croping images to an aspect ratio of 6x4 with width of 1024 pixels

I have a mixed set of images, each one has a slightly different resolution with a slightly different aspect ratio from other images. I have tried using commands like convert -resize and convert ...
7
votes
4answers
10k views

pdf to jpg without quality loss; gscan2pdf

When I convert a pdf file to bunch of jpg files using convert -quality 100 file.pdf page_%04d.jpg I have appreciable quality loss. However if I do the following, there is no (noticeable) quality ...
3
votes
2answers
554 views

Oneliner for slicing an image?

I'm looking for a oneliner command that would slice an image into given proportions. Say input would be filename and slice dimensions. Are there any standard command-line tools for this? I tried ...
9
votes
3answers
2k views

remove extra tilespace from a montage (ImageMagick) composite image?

I have a bunch of photos. They're all the same height, and I'm trying to put them together into a composite image using ImageMagick's montage program via Bash. The problem is that by default, the tile ...