Questions tagged [jpeg]
43 questions
11
votes
2 answers
Converting .NEF to .JPG
I am trying to convert .NEF files to .JPG and I am using the command:
mogrify -format JPG *.NEF
this produces
mogrify: delegate failed `"ufraw-batch" --silent --create-id=also --out- type=png --out-depth=16 "--output=%u.png" "%i"' @…
Mire
- 111
- 1
- 1
- 4
11
votes
3 answers
Convert a folder of images into a multi-page pdf file using command line tools?
I have a folder with 100 jpg images. I want to convert these images into a multi-page pdf file, with all the images (cropped to A4 size). They are already in the correct rotation.
Which tools should I use?
Somebody still uses you MS-DOS
- 4,725
- 10
- 36
- 44
9
votes
1 answer
How to find all JPG files on the file system when .jpg extension is not obligatory ?
First thing I noticed when switched from Windows to Linux was, that Linux has no strict naming convention and no obligatory file name extensions like .bmp, .jpg, .exe etc. Therefore I can not tell by the file name itself its file format.
If all…
Abdul Al Hazred
- 25,760
- 23
- 64
- 88
6
votes
1 answer
How to add a custom GPS location to a picture?
Given a .jpg picture without associated GPS coordinates, how would you suggest to add custom coordinates to it?
user123456
- 4,758
- 11
- 52
- 78
6
votes
2 answers
jpegtran - losslessly crop left portion of image
I have a 1400x1400 image in which I want to trim 4 pixels to the left, 1 at the bottom and, to keep square proportions, 3 from the top. The problem is, whenever I perform a crop with jpegtran, pixels get removed from the bottom-right, no matter what…
Jeffrey Lebowski
- 397
- 3
- 15
5
votes
2 answers
How do I convert .JB2E files to a more common format?
I'm trying to convert some .jb2e images, which I extracted from a PDF, into a proper, common image file format like PNG or JPG. I tried using jbig2dec, but that told me
jbig2dec FATAL ERROR Not a JBIG2 file header
What else can I try?
I'm using…
einpoklum
- 8,772
- 19
- 65
- 129
5
votes
6 answers
Stitch two JPEGs together into a PDF
I need to take two 8.5in by 11in JPEG images and merge them together into two pages of a PDF. Is there a commandline or GUI tool for this?
Naftuli Kay
- 38,686
- 85
- 220
- 311
5
votes
1 answer
Extract latitude/longitude from an image using curl
curl -s -v -X HEAD http://sitename.com/123.jpg 2>&1 | grep '^< Last-Modified:' gets me a date. Any way I can retrieve gps coordinates of an image? Any other metadata?
Renox92
- 69
- 2
- 4
5
votes
1 answer
Losslessly change the dpi value of a JPEG on Linux
How can I change the dpi value recorded in a JPEG file without actually touching anything else, nor recompressing the image?
Linux compatible solutions are welcome.
This 2011 link says we may not have had a tool to do it back then...
Totor
- 19,302
- 17
- 75
- 102
4
votes
2 answers
mpd/xine like daemon for displaying pictures?
I am looking for a daemon that allows me to programmatically display pictures under X and that listens to commands on a socket or network port.
Basically think mpd or xine, just not for audio or video but for pictures. A nice-to-have feature would…
Christian
- 421
- 5
- 11
4
votes
2 answers
jpg to pdf without data loss
Trying to make such things:
1st step:
convert img.jpg img.pdf
2nd step:
pdfimages -j img.pdf img1
Comparing source and extracted images in HEX shows difference. How to make such conversion without data loss?
Darkternal
- 43
- 3
4
votes
1 answer
Delete all images taken with specific camera
What I need:
A command that deletes all .jpg files in the current directory and subdirectories that have been taken with a RaspberryPi Camera.
(Ideally this should work with the Git Bash for Windows, but this would make it just more convenient and…
Maurice
- 145
- 7
4
votes
4 answers
How to generate jpg thumbnails and browsable html pages from command line?
I am searching for a simple command line tool that takes a bunch of jpg files as input, copies them to some destination and generates some browsable html for it (including index page, preview thumbnails etc.), such that I can upload the results to…
maxschlepzig
- 56,316
- 50
- 205
- 279
4
votes
1 answer
Imagemagick: set IPTC parameters in jpeg image
With the Imagemagick command
$ identify -verbose image.jpg
so many properties of the image are shown.
For example, in the output I can find
Profiles:
Profile-8bim: 1058 bytes
Profile-iptc: 1017 bytes
Image Name[2,5]: 01-00241624000002h
…
BowPark
- 4,811
- 12
- 47
- 74
4
votes
2 answers
How to get JPEG thumbnails quickly
My camera is very basic (understatement), but it does have one notable feature: its thumbnail mode is impressively fast; it loads a screenful of 9 thumbnails in less than a quarter of a second.
Now, when I select an image, it first instantly loads…
i336_
- 1,007
- 1
- 10
- 28