Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
0 answers
44 views
How can I cause lp to be able to print a jpeg?
`Lp` will not print an image to a printer when the image is stored as a jpeg. If I convert the image using `convert image.jpeg image.png` and then `lp image.png`, then lp will print the png to my printer. But, `lp image.jpeg` fails to queue any print job or show any error. General web reports that `...
Lp will not print an image to a printer when the image is stored as a jpeg. If I convert the image using convert image.jpeg image.png and then lp image.png, then lp will print the png to my printer. But, lp image.jpeg fails to queue any print job or show any error. General web reports that lp can print a jpeg, but my Debian 13 basic install won't do it and such has been the case many years of previous installs. I could create a function which converts a jpeg to a png automatically, but I imagine lp uses libraries to convert files for printing. I have no idea how lp performs basic conversion or what toolboxes it uses. What do I need to install to enable lp to directly print jpeg image files? * I am using the cups printing system and systemctl status cups.service says that the service is active and the scheduler is running. * file -bi reports image/jpeg; charset=binary for the images that lp cannot print. * apt-cache policy cups-filters-core-drivers says that the latest trixie/main and sid/main package candidate, version 1.28.17-6 is installed.
Paul (238 rep)
May 31, 2025, 12:03 AM • Last activity: May 31, 2025, 09:30 PM
1 votes
2 answers
1919 views
How to repair Corrupted jpeg file that still get their thumbail done correctly?
I've got a bunch of photos that were on an SD card. Most of them are corrupted now, I cannot open them in any program (Gwenview, Gimp, on windows too...) But every file browser still can correctly make most of their thumbnail. for instance : [Gwenview with a photo selected that have a correct thumbn...
I've got a bunch of photos that were on an SD card. Most of them are corrupted now, I cannot open them in any program (Gwenview, Gimp, on windows too...) But every file browser still can correctly make most of their thumbnail. for instance : Gwenview with a photo selected that have a correct thumbnail I'm aware that the SD card is probably dying, so I already made a dd image of the sd card, on which I can work. So far, My searches led me to photorec which does not work in my case: it recovered 4 useless photos and as about two/third of my ~400 still have their thumbnail, I still hope to have most of those back. What Can I do? Any help appreciated :) PS: I'm on Kubuntu 20.04, I'm able to be root and I'm not afraid of the command line (but a graphical tool is still handy :D )
A. Ocannaille (123 rep)
Apr 27, 2020, 04:15 PM • Last activity: Nov 11, 2024, 06:41 AM
0 votes
1 answers
293 views
How to scan barcode in JPEG format with zbar in Linux?
I am working on an embedded Linux system (kernel-5.10.24). Now I am trying to use `zbar-0.23` to scan barcodes in JPEG format, but I don't know how to do that. There is an example/scan_image.c, which can scan barcodes in `PNG` format, but my barcodes are all in `JPEG` format. So how to scan the barc...
I am working on an embedded Linux system (kernel-5.10.24). Now I am trying to use zbar-0.23 to scan barcodes in JPEG format, but I don't know how to do that. There is an example/scan_image.c, which can scan barcodes in PNG format, but my barcodes are all in JPEG format. So how to scan the barcodes in JPEG format with zbar? What are the interfaces in libzbar can be used to do the JPEG barcode scanning?
wangt13 (631 rep)
Mar 8, 2024, 02:36 PM • Last activity: Mar 14, 2024, 09:06 AM
0 votes
1 answers
157 views
How can I recover moved jpg files
On my ubuntu system I ran a command and moved all my jpg files to a single file by mistake ``` src_dir=$1 echo "src_dir: $src_dir" for f in $src_dir/*; do if [ -f $f ]; then new_dir=$(date -r $f +"%b_%Y") if [ ! -d $new_dir ]; then mkdir $new_dir fi echo "File: $f " mv $f $src_dir/$new_dir fi done `...
On my ubuntu system I ran a command and moved all my jpg files to a single file by mistake
src_dir=$1
echo "src_dir: $src_dir"

for f in $src_dir/*; do
    if [ -f $f ]; then
        new_dir=$(date -r $f +"%b_%Y")
        if [ ! -d $new_dir ]; then
            mkdir $new_dir
        fi
        echo "File: $f "
        mv $f $src_dir/$new_dir
    fi
done
I tried recovering my jpg files using recoverJpeg and scalpel. These tools were able to recover the images which I deleted long back. However I did not recover any image which got moved using mv command. I understand its a long shot but is there any way to get back the images?
Daemon (103 rep)
Feb 7, 2024, 11:09 PM • Last activity: Feb 8, 2024, 12:01 AM
5 votes
3 answers
24830 views
Why is libjpeg.so.8 missing from Debian?
Debian 10, but same issue applies to Debian 11. Trying to run a certain binary (gaming), I get complaints about libjpeg.so.8 missing. `apt-file search libjpeg.so.8` gives no results. However I can see libjpeg62-turbo in the repos. Looks like libjpeg.so.8 isn't available, even in non-free, even in ba...
Debian 10, but same issue applies to Debian 11. Trying to run a certain binary (gaming), I get complaints about libjpeg.so.8 missing. apt-file search libjpeg.so.8 gives no results. However I can see libjpeg62-turbo in the repos. Looks like libjpeg.so.8 isn't available, even in non-free, even in backports? Ubuntu seems to have it though! What's the story here? Why doesn't Debian have libjpeg 8? And more crucially, how can I get it? If I'm reading this correctly: https://en.wikipedia.org/wiki/Libjpeg Looks like version 8 was released 12 years ago? Shouldn't Debian include both versions of the libs, so you can use either if a program needs either? What am I missing here?
cat pants (167 rep)
Jan 24, 2022, 02:18 AM • Last activity: Dec 22, 2023, 11:13 AM
0 votes
1 answers
422 views
Bulk convert from PNG/TIFF to JPG with minimal loss in quality
I need to upload my photos to Shutterfly, but they don't seem to support EXIF data on PNG/BMP images. I need to thus convert to JPG for some prints, but I want to lose as little information as possible because the prints will be large format. Is there any way to efficiently bulk convert PNG/TIFF ima...
I need to upload my photos to Shutterfly, but they don't seem to support EXIF data on PNG/BMP images. I need to thus convert to JPG for some prints, but I want to lose as little information as possible because the prints will be large format. Is there any way to efficiently bulk convert PNG/TIFF images to JPG with a minimal loss in quality (using imagemagick or otherwise)? The relevant point is that they will print location/time on the print if included in the metadata. I would like to make use of that feature.
olivarb (103 rep)
Sep 30, 2023, 07:11 PM • Last activity: Oct 5, 2023, 02:56 PM
0 votes
1 answers
887 views
Open corrupted JPEG files (differently corrupted, missing data in the middle, missing headers) and try to recover the intact portions
Using ddrescue I rescued most of an old harddisk and afterwards recovered files using photorec. There is plenty of photos fully restored, which is great. But there is also plenty of broken JPEGs that are either half readable and stop somewhere in the middle or have broken headers and wont open at al...
Using ddrescue I rescued most of an old harddisk and afterwards recovered files using photorec. There is plenty of photos fully restored, which is great. But there is also plenty of broken JPEGs that are either half readable and stop somewhere in the middle or have broken headers and wont open at all. For now, I used GIMP to open them because on the ones where a portion of data is corrupted in the middle of the file, GIMP at least shows the image until the corruption occurs. Is there any tool which: - can open the intact portions of the file and merge them together (not stopping at the corruption, errors in GIMP "Premature end of JPEG file", "Invalid JPEG file structure: two SOI markers", etc. ) - can assist in finding the right header settings to recover at least some parts of corrupted files that are not possible to open at all
M. Schmidt (101 rep)
Jun 16, 2023, 07:32 AM • Last activity: Jun 16, 2023, 10:54 AM
2 votes
1 answers
165 views
Muxing a JPEG bitstream inside a TIFF container?
On my Linux system (Debian) I can decode and then re-encode JPEG to TIFF [using][1]: % ffmpeg -i input.jpeg -pix_fmt rgba output.tiff Or even using libtiff-tools: % convert -size 256x256 -depth 8 xc:white white.ppm % ppm2tiff white.ppm white.tiff % tiffcp -c jpeg white.tiff white.jpg.tiff A JPEG com...
On my Linux system (Debian) I can decode and then re-encode JPEG to TIFF using : % ffmpeg -i input.jpeg -pix_fmt rgba output.tiff Or even using libtiff-tools: % convert -size 256x256 -depth 8 xc:white white.ppm % ppm2tiff white.ppm white.tiff % tiffcp -c jpeg white.tiff white.jpg.tiff A JPEG compression (lossy process) is done internally during tiffcp operation. But instead I want to do **lossless** muxing from JPEG into a TIFF container/format (and the opposite: extract JPEG bitstream from input TIFF/JPEG file). Can I do that using ffmpeg or other UNIX command line tool ? For example I can mux JPEG to M-JPEG losslessly : % ffmpeg -framerate 30 -i input%03d.jpg -codec copy output.mjpeg For reference, here is a typical TIFF/JPEG, how can I extract the raw JPEG bistream from it ? % tiffinfo white.jpg.tiff TIFF Directory at offset 0x430 (1072) Image Width: 256 Image Length: 256 Bits/Sample: 8 Compression Scheme: JPEG Photometric Interpretation: YCbCr Orientation: row 0 top, col 0 lhs Samples/Pixel: 3 Rows/Strip: 256 Planar Configuration: single image plane Reference Black/White: 0: 0 255 1: 128 255 2: 128 255 JPEG Tables: (574 bytes)
malat (3429 rep)
Mar 17, 2023, 07:21 AM • Last activity: Mar 19, 2023, 07:20 PM
0 votes
2 answers
523 views
How to use jpegoptim to have files only 20kb in size?
I have tried using jpegoptim and even tried the manpage but am stumped. Here is a file I want to reduce to 50k and even open to reducing quality of the data - Image: Filename: shirish.jpg Format: JPEG (Joint Photographic Experts Group JFIF format) Mime type: image/jpeg Class: DirectClass Geometry: 4...
I have tried using jpegoptim and even tried the manpage but am stumped. Here is a file I want to reduce to 50k and even open to reducing quality of the data - Image: Filename: shirish.jpg Format: JPEG (Joint Photographic Experts Group JFIF format) Mime type: image/jpeg Class: DirectClass Geometry: 4624x3468+0+0 Resolution: 72x72 Print size: 64.2222x48.1667 Units: PixelsPerInch Colorspace: sRGB Type: TrueColor Base type: Undefined Endianness: Undefined Depth: 8-bit Channel depth: red: 8-bit green: 8-bit blue: 8-bit Channel statistics: Pixels: 16036032 Red: min: 0 (0) max: 255 (1) mean: 119.779 (0.46972) standard deviation: 60.359 (0.236702) kurtosis: -1.33094 skewness: -0.2895 entropy: 0.920909 Green: min: 0 (0) max: 255 (1) mean: 115.071 (0.45126) standard deviation: 63.5402 (0.249177) kurtosis: -1.51367 skewness: -0.162973 entropy: 0.912909 Blue: min: 0 (0) max: 255 (1) mean: 114.566 (0.449277) standard deviation: 61.8685 (0.242621) kurtosis: -1.51015 skewness: -0.101152 entropy: 0.912805 Image statistics: Overall: min: 0 (0) max: 255 (1) mean: 116.472 (0.456752) standard deviation: 61.9226 (0.242834) kurtosis: -1.46062 skewness: -0.184944 entropy: 0.915541 Rendering intent: Perceptual Gamma: 0.454545 Chromaticity: red primary: (0.64,0.33) green primary: (0.3,0.6) blue primary: (0.15,0.06) white point: (0.3127,0.329) Background color: white Border color: srgb(223,223,223) Matte color: grey74 Transparent color: black Interlace: None Intensity: Undefined Compose: Over Page geometry: 4624x3468+0+0 Dispose: Undefined Iterations: 0 Compression: JPEG Quality: 92 Orientation: RightTop Profiles: Profile-app4: 7600 bytes Profile-exif: 51509 bytes Properties: date:create: 2022-08-20T05:27:53+00:00 date:modify: 2022-08-20T05:27:53+00:00 exif:ApertureValue: 169/100 exif:BrightnessValue: 264/100 exif:ColorSpace: 1 exif:DateTime: 2022:08:20 10:53:10 exif:DateTimeDigitized: 2022:08:20 10:53:10 exif:DateTimeOriginal: 2022:08:20 10:53:10 exif:DigitalZoomRatio: 100/100 exif:ExifOffset: 226 exif:ExifVersion: 48, 50, 50, 48 exif:ExposureMode: 0 exif:ExposureProgram: 2 exif:ExposureTime: 1/50 exif:Flash: 0 exif:FNumber: 180/100 exif:FocalLength: 532/100 exif:FocalLengthIn35mmFilm: 28 exif:ImageLength: 3468 exif:ImageUniqueID: I64ELODR0PM exif:ImageWidth: 4624 exif:Make: samsung exif:MaxApertureValue: 169/100 exif:MeteringMode: 2 exif:Model: SM-M526B exif:OffsetTime: +05:30 exif:OffsetTimeOriginal: +05:30 exif:PhotographicSensitivity: 160 exif:PixelXDimension: 4624 exif:PixelYDimension: 3468 exif:SceneCaptureType: 0 exif:ShutterSpeedValue: 1/50 exif:Software: M526BXXU1BVG4 exif:thumbnail:Compression: 6 exif:thumbnail:ImageLength: 384 exif:thumbnail:ImageWidth: 512 exif:thumbnail:JPEGInterchangeFormat: 782 exif:thumbnail:JPEGInterchangeFormatLength: 50721 exif:thumbnail:ResolutionUnit: 2 exif:thumbnail:XResolution: 72/1 exif:thumbnail:YResolution: 72/1 exif:WhiteBalance: 0 exif:YCbCrPositioning: 1 jpeg:colorspace: 2 jpeg:sampling-factor: 2x2,1x1,1x1 signature: 7841c1e0cbe1aa5b79f0dea6791ffd321e2cf05715a9ab3cd210fd551c9bf355 Artifacts: filename: shirish.jpg verbose: true Tainted: False Filesize: 3.65599MiB Number pixels: 16.036M Pixels per second: 126.41MB User time: 0.120u Elapsed time: 0:01.126 Version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org Now I tried both imagemagick convert as well as jpegoptim to get a file which is around 50k. I need the file at that size as I have to upload it somewhere and there are size contraints. I got the above exif and photo data using the identify -verbose switch in imagemagick. Could somebody help me in the above. I did try the following - $jpegoptim --size=50k shirish.jpg Instead of 50kb I got a file that is 200 kb, good but not what I wanted :( I even tried - $jpegoptim --max=10 --size=50k shirish-aadhar-2-reduced.jpg But even that did not produce the desired results. $ jpegoptim --version jpegoptim v1.4.7 x86_64-pc-linux-gnu (Jun 20 2022) Copyright (C) 1996-2022, Timo Kokkonen This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistirbute it under certain conditions. See the GNU General Public License for more details. libjpeg version: 6b 27-Mar-1998 Copyright (C) 1991-2021 The libjpeg-turbo Project and many others Looking forward for help. I know I could use some online tool for the same, but would like offline it possible.
shirish (12954 rep)
Aug 20, 2022, 06:08 AM • Last activity: Aug 20, 2022, 04:28 PM
0 votes
1 answers
168 views
Create MP4 or another playable video format from frame series of JPEG in a directory
So I have frame series of JPEG in a folder let's say folder `cctv` where inside of that folder is only series of JPEG with unix timestamp named in nanosecond. I mean like this ( I used tail because too much to display). ``` .../uwc/cctv $ ls | tail 1660282994647450349.jpg 1660282994732146495.jpg 166...
So I have frame series of JPEG in a folder let's say folder cctv where inside of that folder is only series of JPEG with unix timestamp named in nanosecond. I mean like this ( I used tail because too much to display).
.../uwc/cctv $ ls | tail
1660282994647450349.jpg
1660282994732146495.jpg
1660282994809953109.jpg
1660282994883480141.jpg
1660282994965326703.jpg
1660282995051919515.jpg
1660282995128582224.jpg
1660282995203676963.jpg
1660282995296646495.jpg
1660282995373804099.jpg
I can display MJPEG from those series with OpenCV or Flask, but idk how to convert it to mp4. I expect I can convert those series to mp4 with specifying frame rates I want for example 60 FPS. So how do I achieve it? I suspect ffmpeg can do it, but I never use so I don't know how to use it, maybe this will be my first time to use it. Actually MJPEG is fine and playable in VLC but it will burden layman like entering URL stream of those JPEG or maybe need opening web browser. And ofcourse I don't need audio.
Muhammad Ikhwan Perwira (319 rep)
Aug 12, 2022, 06:11 AM • Last activity: Aug 12, 2022, 06:19 AM
2 votes
2 answers
2508 views
ffmpeg: Replace part of a video by a jpg file for 5 seconds
Sometimes I have a video in which I like to discard the video sequence for five seconds between second 11 and second 16 (as an example) and instead incorporate an image from a jpg file that is displayed during that time and leaving the audio sequence intact. Would be great if someone told me an apt...
Sometimes I have a video in which I like to discard the video sequence for five seconds between second 11 and second 16 (as an example) and instead incorporate an image from a jpg file that is displayed during that time and leaving the audio sequence intact. Would be great if someone told me an apt command line for this. Thanks in advance :) UPDATE 20200906: The solution should not re-encode the entire video in order to rapidly process large video files with a short image-overlay.
vyasa (71 rep)
May 24, 2020, 03:52 PM • Last activity: Oct 2, 2021, 09:28 PM
6 votes
2 answers
3836 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 get removed from the bottom-right, no matter what I do. For instance, testing just the left part,...
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 I do. For instance, testing just the left part, I tried: jpegtran -perfect -crop 1396x1400+0+0 -outfile crop.jpg image.jpg but that just removes 4 pixels from the right; jpegtran -perfect -crop 1396x1400-4+0 -outfile crop.jpg image.jpg and that again removes 4 pixels from the right; jpegtran -perfect -crop 1396x1400+4+0 -outfile crop.jpg image.jpg and that does not remove any pixels at all; more in general, jpegtran -perfect -crop 1396x1400+x+0 -outfile crop.jpg image.jpg jpegtran -perfect -crop 1396x1400-x+0 -outfile crop.jpg image.jpg with x between 0 and 4, does respectively remove 4-x and x pixels from the right. With x higher than 5, obviously gives an error. I couldn't achieve any left trim. Can anyone help me? I'm using jpegtran from libjpeg-turbo version 1.4.2 (build 20151205) on an Arch Linux x86_64 system.
Jeffrey Lebowski (427 rep)
Mar 30, 2016, 10:11 AM • Last activity: May 31, 2021, 06:39 PM
0 votes
1 answers
227 views
What is the best way to upgrade a C library that comes with Fedora? Manually?
I am having an issue with JavaFX, which I posted on [stackoverflow][1]. Basically, the Java library calls a native function that needs the version 90 of the JPEG library. Here's the error message: java.io.IOException: Wrong JPEG library version: library is 62, caller expects 90 What I think that is...
I am having an issue with JavaFX, which I posted on stackoverflow . Basically, the Java library calls a native function that needs the version 90 of the JPEG library. Here's the error message: java.io.IOException: Wrong JPEG library version: library is 62, caller expects 90 What I think that is odd, is that even an older version of the Java library I'm trying to use (JavaFX 11) requires a newer version of the JPEG library that is available on my system. I'm using Fedora 33, which is a very current operating system, and I always keep it updated. Appearently, that library is updated on Fedora 34, but why is my JPEG so outdated in a cutting-edge system, like Fedora 33? Also, what is the canonical way to upgrade this library? Should I compile and replace it manually? I'm not sure what library I should update. The command ldconfig -p | grep -P jpe?g returns:
libmjpegutils-2.1.so.0 (libc6,x86-64) => /lib64/libmjpegutils-2.1.so.0
	libjpeg.so.62 (libc6,x86-64) => /lib64/libjpeg.so.62
	libjpeg.so.62 (libc6) => /lib/libjpeg.so.62
	libjpeg.so (libc6,x86-64) => /lib64/libjpeg.so
	libgdcmjpeg16.so.3.0 (libc6,x86-64) => /lib64/libgdcmjpeg16.so.3.0
	libgdcmjpeg12.so.3.0 (libc6,x86-64) => /lib64/libgdcmjpeg12.so.3.0
	libgdcmjpeg8.so.3.0 (libc6,x86-64) => /lib64/libgdcmjpeg8.so.3.0
And the command rpm -qa | grep -P jpe?g returns:
libjpeg-turbo-2.0.5-5.fc33.i686
	libjpeg-turbo-2.0.5-5.fc33.x86_64
	libjpeg-turbo-devel-2.0.5-5.fc33.x86_64
	mjpegtools-libs-2.1.0-20.fc33.x86_64
	openjpeg2-2.3.1-10.fc33.x86_64
Should I update openjpeg or libjpeg-turbo?
Luís Gustavo Monezi (70 rep)
May 3, 2021, 02:44 AM • Last activity: May 3, 2021, 09:40 AM
1 votes
1 answers
5880 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 make the resolution of the image higher than the PDF, the image quality detoriates. In LibreOffice W...
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 make the resolution of the image higher than the PDF, the image quality detoriates. In LibreOffice Writer, there is an option to export the ODT directly to JPG. I just have to specify the resolution. But the best part is that the image quality does not detoriate. How does LibreOffice achieve this? What does it do to maintain the quality? How can I do this outside LibreOffice?
Raj (11 rep)
Jun 16, 2018, 02:25 PM • Last activity: Mar 27, 2021, 10:50 AM
5 votes
1 answers
2183 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][1] says we may not have had a tool to do it back then... [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=6183...
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 (21020 rep)
Jan 4, 2016, 02:41 PM • Last activity: Mar 25, 2021, 11:44 AM
3 votes
1 answers
670 views
libheif giving unknown file type error debian 10
I tried using `heif-convert 100 3313.heif 3.jpg` to convert my file from .heic to .jpg, but it keeps giving me the error message `Unknown file type in 3313.heif`. What does this mean? I have libde265 and ImageMagick also installed.
I tried using heif-convert 100 3313.heif 3.jpg to convert my file from .heic to .jpg, but it keeps giving me the error message Unknown file type in 3313.heif. What does this mean? I have libde265 and ImageMagick also installed.
Aarush Bothra (31 rep)
May 24, 2020, 01:26 AM • Last activity: Jan 4, 2021, 08:42 AM
0 votes
1 answers
3168 views
ffmpeg batch command to reduce file quality
I've got a directory with thousands of images (png, jpg, bmp, etc.) and thousands of videos (mp4, mpv, mpeg, etc.). The png images may be ~10 MB and I can open them one at a time in GIMP, reduce quality from 100% down to 92% and the image size goes down to ~2MB and the quality (to the eye) hardly ch...
I've got a directory with thousands of images (png, jpg, bmp, etc.) and thousands of videos (mp4, mpv, mpeg, etc.). The png images may be ~10 MB and I can open them one at a time in GIMP, reduce quality from 100% down to 92% and the image size goes down to ~2MB and the quality (to the eye) hardly changes. How can I do this process in bulk (ie batch) to everything (pics and video) in the directory using ffmpeg? And how do I overwrite everything in the directory so I don't have duplicates? Are there any GUI tools for such a thing? Maybe it's better to stick with the command line.
Display name (103 rep)
Sep 16, 2020, 08:22 PM • Last activity: Sep 16, 2020, 09:53 PM
12 votes
3 answers
12909 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 I use?
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 (4865 rep)
Aug 4, 2011, 02:52 PM • Last activity: Sep 1, 2020, 05:56 PM
5 votes
2 answers
2240 views
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 Devuan ASCII (~= Debian Stretch).
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 Devuan ASCII (~= Debian Stretch).
einpoklum (10753 rep)
Apr 30, 2019, 02:21 PM • Last activity: Jun 9, 2020, 10:07 AM
0 votes
0 answers
1006 views
how can we send an image in the body of the mail using any of the mail utilities in Linux
How can we send an image in the body of a mail with rich text / HTML. I tried to get from few of the links , but i am not able to get complete solution. I tried below code but no luck mpack -s "TEST mail" -c image/jpeg Abc158.jpg @abc@gmail.com Please help me with any suggestion
How can we send an image in the body of a mail with rich text / HTML. I tried to get from few of the links , but i am not able to get complete solution. I tried below code but no luck mpack -s "TEST mail" -c image/jpeg Abc158.jpg @abc@gmail.com Please help me with any suggestion
Arya (336 rep)
Aug 21, 2019, 09:54 AM
Showing page 1 of 20 total questions