Questions tagged [convert-command]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
237 views

How to encode / convert a complete folder using ffmpeg?

I have 20 music videos in one folder and I want to change the quality from 1080p to 720p with ffmpeg, because I'm tired of having to convert every single file. So I want to ask for a solution how to ...
0
votes
2answers
127 views

how to convert the content of subfolders recursive to pdf format? [duplicate]

i have a folder with tons of subfolders containing png's. how can i step recursively through the subfolders and convert that files to pdf? The pdf should have the name of the subfolder and be saved ...
8
votes
3answers
4k views

How to mirror image files via command line?

What I want to do is very simple. I've a file.png, which I want to mirror, i.e. the result should be a "reflection" of the original image. I know big tools like GIMP and InkScape can do that, but I'm ...
1
vote
1answer
55 views

How do I prevent imagemagick's convert comand from scaling an image?

I'm trying to make sprite sheets out of animated gifs. The sprites are for my GPS, and each frame needs to be exactly 80x80 pixels. I used this command: convert -resize 80x80 input.gif g.png ...
6
votes
1answer
2k views

Fix animated GIF images which eog can't open, but Firefox and ImageMagick can

I received a collection of animated GIF images from a friend, but I am unable to open some of them them with the standard image viewer eog. The error messages showing up when trying to open them ...
2
votes
2answers
816 views

Scale down image such that it fills a square of 100x100

I want to create thumbnails for all images of a folder. I also want the images to fit in a square of 100x100 pixels. So after scaling the images down, while the smaller side needs to be 100 pixels, ...
9
votes
2answers
11k views

ImageMagick “convert” command cannot use fonts!

convert -size 300x50 xc:none -font Arial -pointsize 20 -gravity center -draw "fill white text 1,1 \"$1\" text 0,0 \"$1\" fill black text -1,-1 \"$1\"" $WATERMARK_FILE Above command results following ...
-1
votes
1answer
109 views

What is the complete command to be type in the command prompt to add the execute permission? [duplicate]

Help! I just need to know the complete command. To add the execute permission. Please.
1
vote
1answer
1k views

text editing using tr command

On using the command: tr -s '\n' ' '< test1 where test1 is a text file. If test1 is written in a manner such that it contains newlines (linefeed characters) and not \n (backslash-n) then the ...
1
vote
1answer
459 views

Thunar - Custom actions: select pdf extract pages as images

I like this command to convert pdf pages to png images: pdftoppm -png *.pdf prefix (my source is this answer) I would like to add a command to Thunar custom actions that would convert the selected ...
28
votes
2answers
22k views

How to do I convert an webm (video) to a (animated) gif on the command line?

I suppose ffmpeg is the weapon of choice but I didn't find out how to reach my goal.
4
votes
5answers
5k views

JPG batch compression & rename (find -exec, xargs, piping?)

this is my first post so I hope you'll be kind enough to forgive me if I make some formatting mistakes or else. This is one question I've had for quite some time and while looking for answers I have ...
10
votes
2answers
8k views

How to batch convert an image to a PDF?

I want to batch convert images (jpg, png, etc.) to PDF. Converting them directly to PDF is easy with: convert in.jpg out.pdf However I need some more options, such as setting the output page size, ...