Questions tagged [image-processing]
The image-processing tag has no summary.
188 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-6
votes
0
answers
45
views
Wish to know if software which can forge humans with natural shadows such as this is published, is available to consumers? [closed]
Are the tools which this document gives descriptions of, published, such that consumers can use those? Notice: some of the examples were too huge to include into the question, thus are left as (...
1
vote
1
answer
84
views
Why is colour metadata getting dropped when converting a JPEG to a TIFF with FFmpeg?
I'm trying to convert a JPEG to a TIFF using the following command:
ffmpeg -i test.jpg -filter:v scale=in_range=full -pix_fmt rgba -color_range full test.tiff
When I read the metadata of the JPEG ...
2
votes
2
answers
856
views
Encode multiple RAW Photos to JPEG XL
I have a pretty simple command line to convert multiple images into other formats:
for %f in (*.png*) do ffmpeg -i "%f" -c:v libjxl -distance 0.0 "%~nf.jxl"
The problem is, now I'...
4
votes
2
answers
314
views
Why is ImageMagick mogrify not cropping pictures in place as expected?
I would like to crop all the images in a directory in place. This works to create a cropped copy of a file:
magick slide.jpg -crop 1700x1100+0+550 slide-cropped.jpg
I thought I would be able to make ...
2
votes
1
answer
232
views
Create a visual diff between two images and overlay it on one of these using imagemagick
I have two images (of a schematic) and I want to highlight the differences on one of them:
Using imagemagick I can create the visual diff and I can also overlay it over the second image:
compare ...
23
votes
6
answers
3k
views
How to implement a "scanner" effect on Linux to fix documents with varying darkness of background?
I use Linux, and sometimes I need to make a document printable when it was photographed in a very imperfect way. A page from a rather complicated example that I recently needed to handle is this one:
...
0
votes
0
answers
174
views
ffmpeg: getting larger gif file after optimization
I'm trying to use ffmpeg to reduce the size of GIF images by lowering fps and color palette size. This is the command I use:
ffmpeg -i initial.gif -filter_complex "[0]fps=${fps},split[m][t];[t]...
0
votes
1
answer
529
views
Which compression modes of convert of imagemagick are lossless (with -quality 100)?
On my Debian 12,
$ convert -list compress
B44A
B44
BZip
DXT1
DXT3
DXT5
Fax
Group4
JBIG1
JBIG2
JPEG2000
JPEG
LosslessJPEG
Lossless
LZMA
LZW
None
Piz
Pxr24
RLE
RunlengthEncoded
WebP
ZipS
Zip
Zstd
Which ...
0
votes
1
answer
84
views
File Size increases on basic pdf -> raster image -> pdf roundtrip with `pdfimages` + `magick`
Why do I not succeed into making this simple pdf → raster image → pdf round-trip file-size-stable?
$ # Get original file (8KB, just extracted from my scanner).
$ curl "https://nextcloud.mbb.cnrs....
0
votes
2
answers
2k
views
How to extract frames from a video using ffmpeg?
Basically I want to extract all frames from the video where the images will be resized to be 720p. All of this I know how to do. But for testing I want to extract every Nth frame. So every 30th image ...
1
vote
0
answers
111
views
How to use action matching for images (actual images, not URLs or filenames) in KDE Clipboard?
What one does use to match objects such as images?
2
votes
1
answer
22k
views
Are the "full size" images from Instagram on a browser actually full size?
I am following the "view page source" method for getting the full resolution of an Instagram image, but feel like I'm doing something wrong. Let's consider this example.
If you view source ...
0
votes
0
answers
169
views
How to draw a moving line as slider for the image comparison video generator script in Python with FFmpeg
I have the below script to generate a video slider with FFmpeg
You can see example here (first 10 seconds) : https://youtu.be/F_wf1uHqZRA
I am trying to replicate effect of imgsli like a person is ...
2
votes
2
answers
746
views
How to find duplicate images, possibly with different resolutions?
I have some images (photos) and there are duplicates but no matter how I sort them they are scattered because of resolution and irregular naming.
I tried gm compare but can't figure out which metric ...
0
votes
1
answer
765
views
How to invert an SVG image?
I’m searching for a solution (in Linux console) which "inverts" an SVG. It shall take an input .svg and generate output .svg with multiple shapes, each one filling a single transparent area. And vice ...