Skip to main content

Questions tagged [image-processing]

The tag has no usage guidance.

0 votes
1 answer
51 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 ...
AlMa1r's user avatar
  • 149
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 ...
Diana Tsvetkova's user avatar
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....
iago-lito's user avatar
  • 366
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 ...
Joan Venge's user avatar
  • 1,496
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?
dusoft's user avatar
  • 111
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 ...
Display name's user avatar
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 ...
Furkan Gözükara's user avatar
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 ...
yarns's user avatar
  • 145
0 votes
1 answer
390 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 ...
Ivanov's user avatar
  • 1
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, ...
Robert Dodier's user avatar
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"&...
Nico Schlömer's user avatar
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: ...
Jamin Grey's user avatar
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 ...
Eric's user avatar
  • 111
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 "...
René Nyffenegger's user avatar
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 ...
user10478's user avatar
  • 123
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 ...
najam ulhassan's user avatar
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". ...
Toothpick Anemone's user avatar
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 ...
Ana's user avatar
  • 1,671
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 ...
asamsa's user avatar
  • 13
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 ...
Benyamin's user avatar
  • 101
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 ...
MACC's user avatar
  • 131
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 ...
shsf's user avatar
  • 113
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 ...
terauser's user avatar
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 ...
Sam's user avatar
  • 101
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 ...
Furkan Gözükara's user avatar
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 ...
user9564371's user avatar
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 ...
RubenTGT's user avatar
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 ...
Chris's user avatar
  • 19
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 ...
Franck Dernoncourt's user avatar
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 ...
jsb's user avatar
  • 119
3 votes
1 answer
2k views

Any way to save WebP images in Microsoft Office (Word, PowerPoint) without recompression (de-compression)?

Recently Office has added the ability to read WebP images, and to integrate them into Office documents as pictures. The WebP format has many advantages, specifically it allows massively smaller file ...
David.P's user avatar
  • 566
1 vote
0 answers
421 views

Extracting text from animated GIF file

I have a GIF file that shows a scrolling down through a table. That table has data that I need to extract. Here is how the file looks like, BTW, I have video files that show the same. With extensions ...
Eslam's user avatar
  • 191
0 votes
1 answer
521 views

Bulk convert SVG to EMF

I have several SVG images which I want to bulk convert to EMF (and possibly WMF also) format. Here is one of the images. I tried all online tools in first page of google search "svg to emf", ...
RajS's user avatar
  • 251
1 vote
2 answers
721 views

How to bulk replace images with placeholders of same dimensions, with a unique visual identifier?

Context I have a few private GitHub repositories of games I have made. I want to open source the codebases, but many of the images used are licensed so cannot be shared freely. Since the image ...
Jake Lee's user avatar
  • 121
0 votes
1 answer
405 views

Overlay GIF on MP4 at certain time interval (while maintaining GIF transparency) [FFMPEG]

I'm looking for a way to implement a gif overlay on top of an mp4, having the following characteristics: Maintaining GIF transparency on video Having the GIF only showing up for a certain time ...
SpecialVirusTasker's user avatar
1 vote
1 answer
602 views

Drawing text on a gif while preserving transparency [FFMPEG]

Using the regular method, input > drawtext seems to remove transparency for GIFs and messes with the coloring ffmpeg -i test.gif drawtext=text='Test':fontcolor=red:fontsize=24 output.gif I've ...
SpecialVirusTasker's user avatar
0 votes
0 answers
40 views

SOLVED | Images are rendering broken [duplicate]

I got a new computer for Christmas. I love it! But then I went on scratch and saw that the blocks were rendering broken. Later I wanted to log in to WhatsApp web and the QR code was broken. It's ...
kit's user avatar
  • 1
1 vote
1 answer
776 views

How does one embed license (or other) information into a PNG file?

I want to preface this by saying no, I don't mean steganography. What I'm looking for isn't simply putting text etc. into an image file through things like Outguess or OpenStego. A software company ...
xTerrene's user avatar
  • 184
2 votes
1 answer
9k views

How to know details of an HEIC file?

An HEIC file was sent to me via email. Is it possible to know when that particular HEIC file is created by the original user?
cgo's user avatar
  • 121
0 votes
1 answer
84 views

Can you identify this image type?

I have a MS SQL Server table with images stored in a large object. I know the BLOB contains image data, but I don't know what type all the images are. There are two different types identified by a ...
jmarkmurphy's user avatar
0 votes
1 answer
293 views

Export multiple non-adjacent tiles with GIMP or ImageMagik or other tools

Tl;dr: looking for a tool or script that can export disjoint cookie-cutter squares from a larger image. Imagine that you want a set of tiles on your kitchen wall that make up a larger image. To be ...
arp's user avatar
  • 97
2 votes
1 answer
2k views

How to batch convert PNGs to JPEGs and preserve timestamps in filesystem & EXIF header?

I sometimes take screenshots on my Mac during video-calls with friends/family (with their consent of course!) and would like to add those images of a photographic nature to my Apple Photos Library. I ...
porg's user avatar
  • 389
0 votes
0 answers
32 views

Overlay image on FFMPEG running on and on

I wanted to overlay images on my video but no impact to any audio. My video is of length 01:32:34 and my below script continue running from 3 hrs and then I closed it. Looks some issue. Please can you ...
D.B.'s user avatar
  • 121
1 vote
1 answer
2k views

Convert table image to Excel, using Excel

I have the table below in the image png file format. Would it be possible to convert this to an Excel table using Excel?
emnha's user avatar
  • 351
0 votes
1 answer
479 views

Need help processing opened images in ImageJ

I've created a macro (based on different ones I've seen) that analyses particles areas in my picture, automatically copies the Area column in the results window to my clipboard and displays a window ...
Poux3's user avatar
  • 1
0 votes
0 answers
58 views

How to pre-process the background of this image in order to OCR the table properly?

I have to OCR the book of tables consisting of 500+ pages but the maker stamped every page. Can anybody help me on how should I process it in order to be able to recognize it let's say in FineReader? ...
off-signer's user avatar
0 votes
1 answer
144 views

Cropping sections of an image and composing it into one image

Suppose I have the following image with three equally-sized rectangles, but different letters And I would like to combine them so that there is only one rectangle with all three rectangles layered on ...
MxLDevs's user avatar
  • 1,199
1 vote
2 answers
364 views

What causes these patchwork lines in the resulting image from my scanner?

I'm trying to scan some old trading cards (AD&D Trading Cards from 1991) and I'm having trouble getting a good scan result on a flat bed scanner. The issue I'm having is the resulting image ...
Zhro's user avatar
  • 907
1 vote
1 answer
236 views

How do I edit this texconv "IMGtoBC3.bat" file so it "READS FROM & PRESERVES the directory structure when writing the "resulting" dds files

How do I edit this texconv "IMGtoBC3.bat" file so it "READS FROM & PRESERVES the directory structure when writing the "resulting" dds files? Personally, I have a large ...
Jeffrey Witty's user avatar
1 vote
0 answers
230 views

How to measure length (in pixels) between multiple points on an image [closed]

I have a fairly high resolution map, with a known scale. How to measure the length in pixels between multiple points on an image? Straight line is simple, but how to do it when there are multiple ...
svenema's user avatar
  • 111

15 30 50 per page