Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [jpeg]

The tag has no usage guidance.

1
vote
1answer
67 views

Imagemagick: Installing Jpeg Decode Delegate with Existing Installation

I installed ImageMagick 7.0.8-11 Q16 x86_64 from source, and I didn't know that decode delegates are not automatically included when installing from source. I should have installed a binary of ...
0
votes
1answer
95 views

Does GIMP use mozjpeg?

If I use GIMP and look at different quality settings for JPEG compression, does this reflect (or, roughly match) the encoding efforts of mozjpeg? (E.g. the claimed "5% on average" improvement over ...
0
votes
1answer
293 views

How does “Export as JPG” work in LibreOffice Writer?

In OpenOffice Writer there is no option to export a document as JPG, only export as PDF. Therefore to make an image, first I have to convert the document as pdf, then convert the PDF to JPG. But if I ...
2
votes
1answer
30 views

Convert image with uncommon aspect ratio without stretching the image

I have found a map online, I like to print out (see link to original here: http://collections.lib.uwm.edu/digital/collection/agdm/id/4614/). However, it has an uncommon(?) aspect ratio, which I would ...
0
votes
2answers
59 views

Lossless crop JPEG to whole 8x8 blocks

Since JPEG images are compressed in chunks of 8x8 pixels, if a JPEG has a width or height that is not divisible by 8, is it technically possible to remove the 1-7 pixels of the outer edge losslessly? ...
3
votes
3answers
549 views

Sort jpg according to creation date and convert to single pdf

On a Mac, how can I sort about 2400 jpg according to their creation date (i. e. stat -f %SB) via terminal and convert them in that order into one pdf? What if one jpg has been created today at 11:10 ...
0
votes
0answers
116 views

Fix MBR ext4 partition after incorrect installation of linux distribution

I was trying to install Opensuse Leap 42.2 via usb-stick network installation. There were jpg and other less important files on one of primary partitions, other aren't important. While installation ...
1
vote
1answer
72 views

How can I repack JPEG?

I have some JPEG files uploaded by users. I need to be sure they are "clean". Sure, I can just recompress them to JPEG again and I will get "clean" files but either I will loose quality or files will ...
3
votes
1answer
234 views

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?
4
votes
1answer
107 views

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,...
4
votes
1answer
3k views

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?
1
vote
1answer
32 views

Using convert to create JPGs?

When I use convert image.png image.jpg to convert a PNG to a JPEG, does convert perform any lossy compression? How much?
3
votes
1answer
1k views

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 ...
1
vote
1answer
296 views

CDE: how to properly convert a jpeg image to xpm for use on wallpaper?

I want to convert a jpeg image to use on CDE as wallpaper. Take my jpeg(originally is hd 1920x1024) rescale to 320x240 with gimp convert to 8bit with convert convert 9.jpg -colors=256 9.xpm Then put ...
3
votes
1answer
824 views

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 ...
2
votes
1answer
608 views

Why can't I change my desktop background to a JPG in LXDE?

I would like to set my desktop background to a JPG wallpaper, but I cannot seem to. I have tried to by right-clicking the desktop and selecting "Desktop Preferences", but even when I select a JPG ...
2
votes
2answers
4k views

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 --...
0
votes
1answer
195 views

How could I install epeg on Arch Linux?

I've been trying to install epeg on Arch Linux, and I'm not having any success. I tried following the instructions for compiling it on the GitHub site, but I just ended up with a libepeg.so and an ...
7
votes
1answer
39k views

How to find all JPG files on the file system when .jpg extension is not obligatory ? [duplicate]

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 ...
2
votes
1answer
4k views

Rename files based on directory names

How can I rename .jpg files in multiple folders based on the name of the folder? I also want the .jpg files to remain in their respective folders and not moved. The folder names have no spaces. So, ...
4
votes
1answer
2k views

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 ...
4
votes
2answers
6k views

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, ...
3
votes
1answer
704 views

Need script: latest JPEGs to video, then delete old JPEGs

I have an IP cam which uploads JPEG pictures to an FTP folder on my Arch Linux box whenever it detects movement in the room it is looking in. It uploads a JPEG every second until all motion activity ...
2
votes
1answer
1k views

how to pdfjoin landscape and portrait oriented JPEG images to one PDF file?

I have some JPEG files. Most of them are landscape oriented, but some are portrait oriented. I want to combine them into one big PDF file. I tried pdfjoin but this results in all images beeing ...
0
votes
1answer
389 views

How do Firefox and Chrome render JPEG images on Linux?

I'm having trouble with Firefox and Chrome for some time now and it's very irritating. Neither of these browsers will render JPEG images. Konqueror and Opera are fine though. What libraries I can ...
0
votes
1answer
531 views

Removing all tags from images [duplicate]

Possible Duplicate: Batch delete exif info How can I remove all tags from images under a directory (using Linux)? I can find all files with something like find pictures -type f -iname "*jpg" -...
4
votes
2answers
225 views

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 ...
3
votes
1answer
2k views

Shell script filtering through jpg files attributes

I'm trying to find a way to filter through thousands of jpg files, and keep only the files with a certain attribute (such as the camera brand with which the picture was captured). How can I do so?
5
votes
6answers
5k views

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?
4
votes
2answers
708 views

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 ...
10
votes
3answers
6k views

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 ...
2
votes
4answers
2k views

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 ...