Questions tagged [images]
Something related to visual data files
372 questions
0
votes
1
answer
103
views
Best Practices: Creating a Bootable Image of a Customized Debian 12 Bookworm microSD-Card for Raspberry Pi 4B
I have a Raspberry Pi 4B (short: RPi4B) running Raspberry OS Debian GNU/Linux 12 bookworm, which I've configured to meet my specific needs (Installing several software packages and making various ...
0
votes
0
answers
49
views
Showing a grid view of images and managing them in a terminal?
I looked at handful of TUI file explorers like Ranger and Yazi. but haven't found any that can show a grid of images. I find keyboard navigation of files much more efficient and would like to manage ...
0
votes
2
answers
55
views
Split a group of images vertically with output in different directories
I have a directory with 170 png photos on a Linux Mint machine, which I want to split in half. I came up with a solution, but it didn't work properly, because it overloaded the cache. The command I ...
0
votes
2
answers
28
views
For what tasks Netpbm images are used? Why 'pdfimages' use it as a default 'format' for extracted images?
Normally, all images are written as PBM (for monochrome images), PGM (for grayscale images), or PPM (for color images) files. With this option, images in DCT format are saved as JPEG files. All non-...
1
vote
3
answers
140
views
Bulk Resize Images of Different Aspect Ratio so that all have Same Width
I am trying to resize multiple images inside of a folder so that all images have the same width, keeping aspect ratio. The images are all different sizes and aspect ratios. I don't care about the ...
0
votes
0
answers
86
views
Failing to extract image from MP3
I have MP3 files with ID3 images of type "Other". I have tried a variety of methods to extract the images, including the suggestions at How to Extract Album Cover Image from MP3 file? To ...
0
votes
0
answers
295
views
How can I view an image in ranger without closing ranger?
I installed ranger console file manager on Ubuntu. I'd like to view images with it in the console (which I access via JupyterLab), so I also installed caca-utils, which contains img2txt:
sudo apt-get ...
0
votes
2
answers
150
views
Is there a way to find all PNG files in a folder that have transparent pixels
I have a couple thousand PNGs, all of them probably support the alpha channel but only some of them actually use it (Only some of them actually have transparent pixels).
Is there any way at all for me ...
0
votes
0
answers
212
views
Imagemagick: How to a PNG with the highest possible quality?
I tried messing around with parameters, but it seems I can't get it to work.
Here's what I got: convert resize 491.33 "image1.png" -quality 90 image2.png.
The result is okay-ish, but I feel ...
0
votes
2
answers
35
views
Imagemagick: Can I set a max height of the watermark image?
I have this BASH script, which scales the watermark image:
#!/bin/bash
echo "Which file to watermark?"
read -e "filetowatermark"
echo "Which file to use as watermark?"
...
0
votes
0
answers
317
views
Attempting to get image preview set up in Ranger, and having an issue with images appearing off-screen
So I am attempting to get image preview setup in ranger with WezTerm on a WSL2 install of Arch. I've got images showing with imgcat:
But I am having an issue where ranger is just shoving everything ...
0
votes
1
answer
841
views
Display images using fbi on startup using systemd
I can successfully display images using the following command:
sudo fbi -T 1 /home/pi/photo-screen/photos/*.jpg -t 4
I now want to start a slide show of those pictures as soon as the Raspberry PI ...
0
votes
1
answer
265
views
How do I access all the files on a disk image?
To backup a remote server, I ran this command on my local machine: ssh user@remote "dd if=/dev/vda | gzip -1 -" | dd of=image.gz
I then decompressed image.gz and tried to mount it by double ...
2
votes
2
answers
108
views
How to preserve PNG image type (RGB or Indexed) when converting with NetPBM?
I have a PNG image processing workflow that relies on the images to be in the 24bit Truecolor format also known as RGB images. PNG permits either RGB or Indexed color representation.
The pnmtopng ...
1
vote
4
answers
202
views
How to sort and filter images by modification time and view them in nsxiv on FreeBSD
I am using nsxiv to view JPEG and PNG images on FreeBSD. However, I am unable to find a way to sort and filter the images by modification time to view them in nsxiv on FreeBSD. On Linux with GNU ...
0
votes
2
answers
306
views
How can I preview image data urls in linux (e.g. data:image/png;base64, <data>)?
I opened some json-based configuration file and I see that there is a favicon key whose value is a data url representing a png:
"favicon": "data:image/png;base64,iVBORw...
I am looking ...
0
votes
1
answer
255
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 ...
1
vote
0
answers
38
views
Scrub identifying data from USB stick
I am providing photos related to a legal matter to a lawyer and she is going to give them to law enforcement without giving them my name (under attorney client privilege).
I am not sure if she is tech ...
1
vote
0
answers
223
views
Using feh --keep-zoom-vp and --zoom fit at the same time?
If I run:
feh --keep-zoom-vp *
Then feh will keep the zoom and viewport positioning when browsing through images, as explained in the manual. This works as expected
If I run:
feh --zoom "fill&...
1
vote
0
answers
291
views
Is there a terminal-based image viewer that enables directory browsing after viewing a single file?
I am searching for a lightweight terminal image viewer like feh,meh, sxiv, pqiv, or qiv, with the end objective of having a terminal image viewer that allows you to explore all pictures in a folder ...
3
votes
2
answers
5k
views
How to remove old kernel images
Am currently running POP_OS 20.04 (LTS). When I open the terminal and run the command,
dpkg --list | grep linux-image
it returns a list of apparently installed images, including my current (6.0.12) ...
0
votes
2
answers
387
views
Capture a jpeg image / image stream from a console program?
I'm running a headless Raspberry Pi, and would like to convert the console/terminal output to a single jpeg or video stream.
For example: capture the output of pbytop every few seconds and stream it ...
3
votes
0
answers
113
views
Make GNOME Image Viewer not cycle
I'm using GNOME Image Viewer (ver. 3.38.2) as default, and I navigate lots of data-visualization by using the arrow keys on the keyboard. The data sets could look similar but subtly different, which ...
0
votes
0
answers
44
views
Can I put images in an email using a text based email client?
Can I use a text-based email client to embed images in my emails?
Outlook is really inefficient and it drives me crazy. But I'd still have to embed emails.
1
vote
1
answer
168
views
Exiv2: How to print tag values without printing the corresponding filenames
I'm using exiv2 0.27.2. I want to print the tag values of multiple webp files, but without the filename being printed.
With the following command:
exiv2 -g Exif.Image.Artist -Pv *.webp
I get the ...
10
votes
2
answers
1k
views
How can I get the number bytes to write per row for FrameBuffer?
Goal: I'm writing a very simple image viewer for framebuffer /dev/fb0 (something like fbi).
Current state:
My software takes the pixel resolution from /sys/class/graphics/fb0/virtual_size (such as ...
1
vote
0
answers
81
views
The fsck: error2 error occurred when running the image
I'm using qemu to run an image. If the mirroring is successful, I then run on gem5.
The image I use is at this website.
http://dist.gem5.org/dist/v20-1/images/x86/ubuntu-18-04/boot-exit.img.gz
I use ...
0
votes
0
answers
729
views
How to put files into the image more conveniently?
I have an image file boot-exit.img.
$ file boot-exit.img
boot-exit.img: DOS/MBR boot sector
I want to put files into this image .
This is too much trouble. I always move the local run.sh to the /home ...
0
votes
1
answer
982
views
Why and how is the Linux kernel image compressed?
Why and how is the Linux kernel image compressed? Isn't it pointless to compress it, when the image is and must be (as far as I know) uncompressed in RAM? How can it even be compressed? How can the ...
0
votes
2
answers
856
views
What is the difference between vmlinux and vmlinux.bin?
What is the difference between vmlinux and vmlinux.bin?
-1
votes
1
answer
332
views
png images to single pdf
I have Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 on Ubuntu 20.04.
I tried convert *.png out.pdf to convert 70 png files into a pdf, but strangely always only 18 pages in the pdf file. I didn'...
1
vote
0
answers
201
views
How can I get my SVG icon to automatically change its colour depending on the background colour?
I am trying to add some icons into ~/.local/share/icons/ so that I can use them with notify-send. I can do that just fine, but the icon colour is not adapting to the background, unlike the Adwaita ...
4
votes
1
answer
789
views
Extracting Images using pdfimages: Getting 3 Images Per Page: .jp2, .png, .jb2e
Using pdfimages -all on a .pdf file, each page of which is text, I'm getting 3 images for each page in the pdf:
Foo-001-000.jp2
Foo-001-002.png
Foo-001-002.jb2e
The first file is mostly blank, but ...
1
vote
0
answers
42
views
Create Ubuntu image without USB or Rebooting
I want to create a backup image or a snapshot of my Linux Ubuntu 22.04.1 system. Is there any way to do it without using USB stick, rebooting the system.. Basically, do it in the 'background' while I'...
2
votes
1
answer
1k
views
Why is the Image file a PE executable
I've been trying to compile a linux kernel on my own machine with the source linux-6.0-rc5, which is the latest. Everything goes well yet something haunts me. When I get the Image file under arch/...
0
votes
2
answers
423
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: ...
0
votes
0
answers
56
views
Determine dimensions of GIF image
How can I determine the image dimensions I need to use on my site at http://orcacomputers.com? I want to ensure I get the correct image dimensions for a file named patten.gif.
I have an Apache error ...
0
votes
0
answers
21
views
Is it possible to run a hybrid pc on drastically low power consumption while still displaying a slideshow?
I've bought a Surface Pro 3 for my elders, and installed ZorinOS on it -- a great distro for hybrid pcs btw!!
One stuff we'd like it to do is to act as a digital photo-frame by running a slideshow of ...
0
votes
1
answer
22
views
Restore images / pictures chunked into many files
i am trying to find a way to restore image files that got chunked due to a restore from a broken harddrive.
I am not sure if those files are in correct order or are at all recoverable as images.
...
0
votes
2
answers
829
views
V4L2: Why image taken with shortest exposure-time looks way too brighter than auto-exposure mode?
When capturing image using the default auto-exposure-mode:
$ v4l2-ctl -d0 --set-fmt-video=width=width,height=height,pixelformat=MJPG --stream-mmap --stream-to=auto_expo.jpg --stream-count=1
auto_expo....
1
vote
2
answers
103
views
What program is best for outputting an image with my inputted text on it?
I'm looking for a program that is able to output an image with my inputted text on it.
Sort of like a template, I would input varying text / numbers and an image, and the program will output the image ...
-1
votes
1
answer
1k
views
HTML not loading local images in any of my browsers in my system [closed]
Problem
In my main desktop system running Arch linux, when I create an HTML file with a tag and an image like so:
<img src="imagepath" alt="sometext">
the image does not ...
3
votes
1
answer
48
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
779
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
37
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
1k
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 ...
1
vote
0
answers
46
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
250
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
2
answers
256
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
1k
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....