Questions tagged [image-processing]
The image-processing tag has no usage guidance.
183
questions
0
votes
1
answer
50
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
0
answers
22
views
Can't install volumentations on google collab
I am relatively new here. I have a very limited dataset of 3d-images that i want to use as a dataset to train a neural network. This is why i am trying to augment those images .
I see that ...
0
votes
1
answer
41
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
189
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 ...
0
votes
0
answers
18
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?
0
votes
1
answer
1k
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
90
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
224
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
389
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 ...
1
vote
2
answers
54
views
How to determine bits per channel in XPM (X PixMap) image format?
Looking at the XPM (X PixMap) image format, I don't see anywhere that the number of bits per channel (or, equivalently, the number of possible colors) is specified. Poking around on my Ubuntu system, ...
0
votes
0
answers
26
views
identify PNGs in SVG's clothing
I sometimes encounter "faux" SVGs, i.e., SVG images files that simply list pixels as paths:
<svg xmlns="http://www.w3.org/2000/svg" width="1295" height="573"&...
4
votes
1
answer
278
views
Replacing a color using -transparency regardless of existing pixel opacity, using ImageMagick
I have a colorful image that has alot of existing transparent background, but also a few blocks of hot pink rgb(255,0,255) color I want to additionally become transparent.
I'm doing so like this:
...
1
vote
0
answers
107
views
Color rotation/correction help request for GIMP
I'm new to GIMP and am looking for help on color rotation. Some target colors don't always seem to be accessible, or I don't understand how to get to it.
For example:
Here I can rotate the color from ...
0
votes
0
answers
1k
views
Why has Chrome started to distort the rendering of icons or images?
When I open a new page and move the mouse, Chrome starts to render icons and images in a distorted way.
For example, right now, the SuperUser Log on this page's top is rendered as follows:
The "...
0
votes
0
answers
59
views
GIMP Does Not Paint Consistently
I want to use the Paintbrush Tool in GIMP, but it does not apply paint in a consistent manner.
Often the paint is applied very lightly, sometimes even hard to notice, or not at all (no Undo option ...
0
votes
0
answers
177
views
Creating silent video from an image file (like png) using FFmpeg
ffmpeg -y -loop 1 -i '$inputFile' -f lavfi -i anullsrc=r=44100:cl=stereo -vf "scale=1280:720" -c:v libx264 -pix_fmt yuv420p -c:a aac -strict experimental -t $seconds -crf 28 -preset ...
0
votes
4
answers
1k
views
How do we search for files which contain a specific word and end in a specific file-type suffix?
How do we use Microsoft Windows PowerShell and Regular Expressions (Regex) in order to find all of the pictures (image files) on a computer such that the file name contains the word "dog".
...
0
votes
1
answer
152
views
How to composite images with offsets and scaling into a single image?
I would like to use imagemagick to create a mosaic.
I have a list of images along with their individual offsets and scales, for example:
a.jpg, translate to 0,0 and scale to 100%
b.jpg, translate to ...
1
vote
1
answer
120
views
Extracting foregrounds from DJVU files
I tried extracting the foreground using ddjvu -mode=foreground and ddjvu -mode=black but the file that was generated was several GB in size. Following one of the answers in rhis link I then tried to ...
0
votes
2
answers
123
views
PDF Composed of Images of Text - How to Convert to text file?
I have a PDF composed of many scanned pages. An example snippet of the text is shown below (do not worry about privacy, as this is a publicly available document). As you can see, it is very difficult ...
2
votes
1
answer
1k
views
Fast Stone Image Viewer - Creating one image out of multiple images
I was wondering if there's a functionality within Fast Stone Image Viewer that allows you to "glue" several images together into a single image as sort of an image grid while keeping the ...
10
votes
4
answers
3k
views
How to resize an animated webp?
I want to be able to change the size of a dynamic webp.
Sample picture. I found this website to do just that.
So how can I implement something similar in my own program?
I tried using ImageMagick7 or ...
1
vote
0
answers
4k
views
avoid duplicate frames in ffmpeg
I have a video.mp4 which I need to convert losslessly into a sequence of images.
I used
ffmpeg -i input.mp4 $filename%05d.tiff
but I get a lot (thousands) of duplicated frames. What are they? is it ...
0
votes
1
answer
1k
views
ffmpeg - How to create a video with a PNG file and keep the same colors
I use a PNG file to create a video.
I create the PNG file with Inkscape.
The SVG file in Inkscape, the PNG file opened in Chrome show the same colors.
Nevertheless the colors of the video (opened in ...
1
vote
1
answer
5k
views
How can I fill / replace only %100 transparent pixels with a selected color in photoshop
There are countless examples to add background layer
That is not what I want because if you have semi transparent pixels that breaks their color
What I want to achieve is only replacing %100 ...
1
vote
1
answer
1k
views
How do I properly downscale an image from 300 dpi down to 72 dpi using imagemagick?
As the title says, I want to know the proper way to downscale my image that is originally 300 dpi down to 72 dpi while still maintaining the same quality of the image.
By quality, I don't mean the ...
0
votes
1
answer
50
views
I don't know how to play this videos
This videos are from an IP camera but I don't know how or where I can play it. I tried with VLC using a demuxer for h.264 but it doesn't work.
I tried converting the videos to mp4 but it looks like ...
0
votes
0
answers
35
views
Can sips -g capture image data on Photoshop .psb files over 4.5 GB?
When using the command sips -g profile on a .psb over 4.5GB, it returns nil. The same is true for -g bitsPerSample and -g space, though -g dpiWidth is able to capture data.
All these commands work as ...
3
votes
4
answers
2k
views
How can I cut a collection of images in half on Windows 10?
I have 50 images. I need to cut each image in half (vertical cut). How can I do that on Windows 10 via a batch process (= not cutting each image manually one by one)? All the images are in a single ...
1
vote
0
answers
28
views
Remove watermark from pdf of images [duplicate]
I have a pdf consiting of page scans and they have they have an annoying watermark that appears as a grey image in the middle of pages difficulting reading. Since the pdf is made of image files there ...