Questions tagged [images]
Something related to visual data files
337
questions
3
votes
1
answer
36
views
Take a picture or a screenshot with my voice
I spend a lot of time taking pictures with a usb camera attached to a microscope. Thing is... I need to manipulate the plaque with my two hands, so moving one hand from the microscope to the computer ...
0
votes
1
answer
31
views
CLI tool that compress the given image, whatever file type the image is (png, jpg, gif, webp, svg)?
I know that there are many tools to optimize an image:
pngquant
optipng
jpegoptim
gifsicle
exiftool
ecc
but they are all specific for a certain file type. Is there a single command line that, ...
0
votes
0
answers
26
views
software for editing 2 images at the same time
I am looking to find if possible a tool which can take a area screenshot and let me edit it like so:
however I also want an image like this to be created simultaneously after editing the first image:
...
0
votes
1
answer
66
views
What are the weird characters from an image file?
So i am pretty new to linux and i am learning basic commands. I am also very interested to know how things work under the hood, so sometime after i learned both the cat and nano commands, i tried ...
0
votes
0
answers
15
views
How to control webcam's exposure time (using V4L2) based on the certain pixel's value?
I'd like to control the exposure time such that certain average value of certain window (e.g. 10x10+230+70) always fall between 100 to 220.
/p.s. Camera is monochrome/
Something like following:
loop
...
1
vote
0
answers
45
views
Is it possible to repair a jpg that doesn't "look" broken? [duplicate]
I have many photos that were recovered a long time ago, at the time I recovered them and everything looked fine, the thumbnails produced looked good. However now, 16 years later. I see that the images ...
0
votes
1
answer
16
views
How to make sure images captured by FFMPEG from USB is lossless?
I'm to capturing 10 images from camera. Like so:
ffmpeg -hide_banner -loglevel error -f video4linux2 -i /dev/video0 -vframes 10 -video_size 640x480 test%3d.jpg
Since JPG is lossly, at I need to ...
0
votes
0
answers
13
views
How can i get the icon file from a notification?
I want to use the cover art from Spotify in a widget and the only way i found to get them offline is as the icons in the notifications, but i couldn't find anything about saving icons. I am using the ...
0
votes
1
answer
17
views
Scale images to fixed target pixel size
I want to reduce the size of my JPG images to the same total pixel size (e.g. 6MPx) no matter of the input size or ratio.
Of course mogrify or convert can resize:
This ...
mogrify -resize 3000x3000 ...
1
vote
1
answer
27
views
How can I display an image coming as a binary stream?
I would like to display an image that I am receiving from a curl command. For example, I would like to display it using Eye of Gnome. How can I do that?
Something like:
curl https://example.com/image....
0
votes
0
answers
17
views
How to visually freeform select and save the part of an image in linux without gimp?
Pretty much as per title: How to visually freeform select and save the part of an image in linux without gimp?
In other words how do you freeform select/cut out something from an image and save this ...
6
votes
1
answer
173
views
How to tell if an image contains a specific color?
Is there a command line tool to tell me if an image contains a specific color? For example, if it contains #ff0000?
0
votes
1
answer
56
views
Using dd to restore multiple partitions from multiple image files to same destination drive
I want to use dd command to create image file(s) from a source machine then extract it using dd to a destination machine.
But the catch is that mount points / and /home are on separate partitions on ...
0
votes
0
answers
23
views
What happened to "crop" when an image is selected?
I want to crop an image in Writer, so I select the image and right-click (Ubuntu 20.04, V6.4.7.2) and there is no longer an option to crop. Why?
0
votes
0
answers
44
views
How to take picture with Gstreamer with camera locally connected
I'm able to view video from my connected camera with Gstreamer fine with:
# media-ctl -d /dev/media0 -l "'rzg2l_csi2 10830400.csi2':1 -> 'CRU output':0 [1]"
# media-ctl -d /dev/media0 -V &...
0
votes
1
answer
29
views
How to tell the integrity of a recovered file, specifically if pixel data of recovered image is corrupted
I delete a file from disk, then do some write operations on the same disk, and then run a recovery program to recover the said file.
Is there any way to check the integrity of the file?
Let the ...
0
votes
1
answer
58
views
html file to picture on cli of ranger preview
I would like to preview html files in ranger as pictures similarly how pdf files can be previewed. I imagine first it would be needed to force it into A4 page or something of the like, so it's a ...
2
votes
3
answers
990
views
Point out my mistake while converting TIFF to PNG/JPG
This is a input tiff image, which I want to convert to JPG/PNG. googledrive-link-to-download-sample
As general rule of thumb, I always use following command to convert between 2 image formats (mainly ...
1
vote
2
answers
47
views
Can I pull an image down from a repo and save it locally as a different name?
I can pull down an image with podman pull
podman pull alpine:3
This currently pulls the image down as,
REPOSITORY TAG IMAGE ID CREATED SIZE
docker.io/library/...
0
votes
1
answer
30
views
How to view a list of files from a file as an image gallery?
I have a txt file I created with find with the path of many files in different locations, separated by a newline. I want to navigate through these files like an image gallery, preferably with ...
0
votes
1
answer
43
views
Find images with specific pixel height/width and move them in another directory
I want to find screenshot files, having a specific pixel height of 2220 and width of 1080, and want to move them into another folder. That's nothing I can do manually, as the source is 100+k images or ...
0
votes
0
answers
20
views
`man -H` outputs broken images
I'm trying to convert man pages to epub files an use man -H and ebook-convert for this since it uses
The resulting ebook works, but there is a broken image in man pages which contain a table like ...
0
votes
0
answers
36
views
How Do I Download All Inline Images From a Thread on a MyBB Forum Using Wget?
I want to download all jpeg and jpg images from a thread on a forum based on MyBB using wget.
Is it possible to download all the images to a folder named after the thread?
Thanks!
3
votes
1
answer
49
views
pic(1): graphic cut off at right border
I created a graphic in the pic language as follows (v-modell.pic):
.PS
AF: box wid 1.6 ht 0.25 "Anforderungen"
SA: box same "Systemarchitektur" at AF.se + (0.1, -0.5)
KA: box same &...
0
votes
1
answer
26
views
Image get distorted after being sent via broswer
Hello I am using parrot OS, and My problem is whenever i capture the screenshot at my linux machine and try to send it via browser or web.whatsapp. The image get's distorted. Please Have a look at ...
0
votes
0
answers
26
views
Imagick on node - Composite image with the same image on background with blur
I have this function:
async function convertImage(sentenceIndex){
return new Promise((resolve, reject) => {
const inputFile = ./content/${sentenceIndex}-original.png[0]
const outputFile = ./content/...
0
votes
0
answers
157
views
Cheese screen black with good webcam under CentOS Stream
I have a webcam that works like a charm when connected to Ubuntu 20.04 LTS:
$ uname -r
5.11.0-7614-generic
$ sudo hwinfo | less
...
24: USB 00.0: 0000 Unclassified device
[Created at usb.122]
...
0
votes
0
answers
41
views
How can I use one input file into several separate operations
I would like to read one file, do an operation with several different parameters on it and finally save each output as a separate file.
Currently I do it as shown in the code snipped below.
This reads ...
4
votes
1
answer
591
views
Markdown & Pandoc : How to include a specific PDF page as image?
It is currently possible to insert a PDF as an image in markdown files through pandoc by doing this:
# Hello World

Then you convert that markdown file with pandoc:
...
0
votes
4
answers
89
views
Is there a way to view web images from the terminal?
I want to be able to view the images inside a repository about wallpapers. Going through every image takes to long with the browser. I wonder if exists a program which I can accomplish this, view ...
1
vote
1
answer
474
views
Invalid MIT-MAGIC-COOKIE-1 key% WIDGET_CONTROL: Unable to connect to X Windows display: localhost:11.0
I am trying to run IDL from remote in terminal window. I would like to produce an image in a png file from remote without the pop-up window in my terminal (for some reasons that I do not know pop-up ...
0
votes
2
answers
160
views
Extract jpg property 'keyword' from terminal
Using Ubuntu 20.04, I can right-click on a jpg and select 'properties'. A window will open containing the tab 'image'. In this tab, there is a section called 'Keywords', the content of which I would ...
1
vote
0
answers
49
views
Convert jpg to bmp in an ARM Cortex M4 MCU
I'm currently working in a project that involves the use of an ARM cortex M4 MCU, specifically STM32F429, which has an embedded LCD controller which uses the bmp image format to show the images in the ...
3
votes
1
answer
2k
views
Alacritty Ranger w3m: Images are not showing or disappear after few seconds
I am using Alacritty and ranger. I have also installed w3m.
This is part of my ~/.config/ranger/rc.conf:
set preview_images true
set preview_images_method w3m
set w3m_offset 0
Most of the time images ...
1
vote
4
answers
102
views
Download image in high resolution
I wanted to download this map: https://www.wdl.org/en/item/17278/
With the webpage download option I get the image in low resolution, however with the zoom option I can see the map with a fairly good ...
10
votes
4
answers
10k
views
How to blur webcam background in Microsoft Teams
I am currently using Teams for a master and I would like to blur my backgrounds, do you know any way to do it?
1
vote
2
answers
690
views
How can I paste an image from clipboard directly to a file? [duplicate]
I need exactly this one but on Linux:
Anyone know of a way to simply paste a screenshot (taken with PrtScn or Alt+PrtScn) into a Windows Explorer folder and have it be saved as an image (possibly ...
0
votes
1
answer
76
views
bulk resize height*width problem
I'm trying to resize all images in a directory using this bash script :
for i in *.jpg; do
printf "Resize $i\n"
convert "$i" -resize 336x336 "$i"
done
But when ...
0
votes
1
answer
314
views
Viewing images date-wise in an image viewer
I am on Debian testing. I have come across this problem before and haven't found any resolution so far using search-engines, perhaps not precise enough, dunno.
The thing is I have a folder/directory ...
0
votes
0
answers
96
views
How to list all image files with a certain rating (recorded in XMP data)
I have a directory with a large list of image files (JPG). Some of them have a specific rating, which is recorded as XMP data. An example would be
XMP Exif > xmp:Rating = 5
(for a file that has 5 ...
0
votes
1
answer
89
views
Can't rm formats after conversion
How can I fix the following command, so that all files with the format specified with the rm command are deleted?
#!/bin/bash
mogrify -verbose -format webp -quality 70 *.jpg *.jpeg *.JPEG *.JPG *.png *...
0
votes
1
answer
68
views
Discard black/dark timelapse photos using a script
I'm capturing an rtsp stream using ffmpeg every minute (underwater) and only want to discard any photos that are captured which is less than 10% light. This is my very simple cron script, which I'd ...
0
votes
1
answer
580
views
How to unzip the U-boot image?
I have the U-boot image called:
rootfs.13cy.initramfs.bzip2.uboot
I want to see what's inside of it.
Whats dumpimage cmd shows me:
dumpimage -l rootfs.13cy.initramfs.bzip2.uboot
Image Name: ...
1
vote
1
answer
139
views
Specify rootfs mount options
I would like to specify mount options for my rootfs as per instructed here however I am unsure where this should be done. I've looked through the genimage docs and there was no generic option to pass ...
0
votes
0
answers
72
views
Terminal Image editor utility for MAC OS
I am dealing with the analysis of many PostScript graphs on my macOS system. Could you suggest me some utility that could be executed in terminal with the aim to add some information to the graph in ...
1
vote
1
answer
401
views
Superimpose multiple images
I have multiple pictures that are look alike, they're all black and differ only in the one dot of the screen, I want to combine them in one picture so I can see all the dots in one picture. How can I ...
1
vote
0
answers
563
views
What do the avifenc min/max quality settings do?
I'm using avifenc by joedrago to create AVIF images (for use on the web). I installed it via Homebrew on macOS using:
brew install joedrago/repo/avifenc
There doesn't seem to be a single quality ...
1
vote
1
answer
841
views
ImageMagick - how to preserve exact palette in .PNG
I'm trying to use convert(1) from ImageMagick to convert from .tga to .png (and back again later), while preserving exact palette that was used.
Source image is TARGA color indexed file, having a ...
0
votes
2
answers
247
views
Thunderbird/X11 - pasting images from clipboard/primary selection fails unless I first paste to libreoffice
If I do a screenshot to clipboard like this:
xsnap -png -stdout | xclip -selection primary -t image/png
.....then a middle-mouse-button-paste to thunderbird yields a binary paste starting with '�PNG ...
0
votes
2
answers
237
views
Is there a PNG file that exists in almost all Linux distributions?
I need a default image for the demo, but I don't want to attach an extra image to the installation package.
So I want a PNG file that is normally found in almost all Linux distributions, except for ...