Something related to visual data files

learn more… | top users | synonyms (1)

10
votes
6answers
10k views

shell command to get pixel size of an image

Is there a shell command that returns the pixel size of an image? I'm trying to produce an animated gif starting from different gifs with different sizes using convert (e.g. convert -delay 50 1.gif 2....
1
vote
2answers
517 views

what is best directory for storing uploaded files / images from my website

i am building a webpage where a the user can upload images. i am going to use the file-system to store my images. i was wondering what is the best directory to hold such data? is it /var/ directory? /...
0
votes
0answers
48 views

imagemagick: compositing images with fractional X/Y offsets

Using a one-line imagemagick command, how can the offset of a destination image be defined in relation to the size of the source image? The following command superimposes two images with absolute ...
0
votes
1answer
114 views

MimeType Desktop entry for all image files

I want a desktop entry like MimeType=image/ETC to create a context menu action in Dolphin (File Manager in Linux Mint KDE) that would appear only for images. To the question "Is there a generic ...
9
votes
4answers
6k views

How do you binarize a colored image?

My friend has an colored image with Chinese handwriting (basically by taking photo of or scanning what he wrote on a piece of white paper), and he would like me to convert it into a black and white ...
4
votes
2answers
836 views

PNG viewer that can display text chunks metadata

Is there a PNG viewer that can display text chunk metadata? Ideally, I'd like a way to view arbitrary chunks.
15
votes
4answers
8k views

Command line convert webp to jpg?

I'm using ubuntu 12.04. I've installed libwebp2 & libwebp-dev So far, no example found on the net of converting webp to jpg. Some webp files can easily converted by using imagemagick with ...
0
votes
2answers
105 views

creating gif animations

I read some where it was possible to create a gif by adding frames to it in a browser. Does that mean on the server you can add frames to it by using cat? Are there other file types that are so ...
0
votes
0answers
104 views

Metadata preservation when modifying images with ImageMagic

I want to resize, convert or resize + convert images in JPEG, PNG and TIFF in each direction: jpg → tiff, tiff → png, etc. And I want to use -flatten as well. What does ImageMagick do with the ...
1
vote
2answers
3k views

How to put a background image on GRUB?

I found some images on the internet about some GRUBs with a background image, I would like to do something like that too, but how? I have GRUB2.
4
votes
2answers
341 views

Converting and rescaling a lot of png images to jpeg

I have a lot of .png images in a folder. Is there a command (or software) that can convert all them to .jpg and (simultaneously) rescale the created .jpg files to 25% of their original size?
0
votes
0answers
467 views

Images (e.g. with Clonezilla) of Windows and Linux on a UEFI computer

I use Clonezilla with success for many years to make images from partitions that host Windows 7 or smaller and Ubuntu and other operating systems. Making images and restore them was easy for me. But ...
11
votes
7answers
3k views

Options to show images when on the console

When I am on the console (the tty, the virtual terminal, which you reach with Ctrl+Alt+F1-6, not a terminal emulator), what options do I have to view images, tiff, whatever that's not text?
0
votes
2answers
41 views

Create a Linux image

Good Afternoon Everyone! First off I am a Linux nooby, been doing windows administration for several years but recently our company has decided to start deploying RHEL servers. Anyways I have spent ...
0
votes
0answers
88 views

Download Hotlinked Images from Forum from Command Line

From the command line, is it possible to download linked images posted on forums? I want to enter the forum thread url and maybe stipulate which image hosts to detect. Also some threads will have ...
4
votes
0answers
200 views

Replace a image in a PDF using command line

I need to process some PDF files. The task consists in exchange a given image file by another. My first problem is how to replace a PDF image from command line in a batch process. Next I'll try to ...
2
votes
1answer
862 views

For Loop for Google Image Downloading Bash Script

I have a bash script which downloads images from Google Images. This is the command I use: bash getimages.sh 3 rocky%20mountains That command will download the 3rd picture in Google Images. To ...
0
votes
1answer
71 views

Hard Disk Clone Image Size

I've created an image backup for HDDA (partition) from HostA and saved on HostB ssh -c blowfish user@ip-or-hostname "dd if=/dev/sda1 | gzip -1 -" | dd of=sda1.gz conv=sync,noerror The HDD size is ...
7
votes
2answers
2k views

How to draw a single pixel in a terminal?

Until now I used characters to draw images, shapes etc in a terminal. Is it possible to draw a single pixel? Let's say: foo 1 1 red This will draw a red pixel at the coordinate (1, 1). Is there ...
4
votes
2answers
541 views

Convert all non-JPG images to JPGs

What command can I use to convert all images in a folder which are not JPGs (PNG and BMP primarily) to JPG? I'd also like the conversion quality to be 100%. And I'd like the converted images to ...
0
votes
1answer
184 views

Resizing/Processing only images in folder larger than specified height? [duplicate]

I have a folder with JPG images, some of which have a height dimension larger than 1900 pixels. I need a command that will ignore the images with a height dimension lower than 1900 pixels, while ...
1
vote
2answers
377 views

shell script to get collect pixel size of image

I'm trying to create shell script that returns the largest picture in total dimensions pixel size? For example: I have many directory over 7000+, each directory have images: dir_1/ picture_1.png = ...
2
votes
2answers
1k views

How to batch resize all images in a folder (including subfolders)?

I have huge, 12GB, gallery on the server, full of images in various subfolders. Those files are too big and not used in full resolution. I need to resize all the images down to 820px wide (keeping ...
0
votes
3answers
59 views

How can you determine image size from a command line?

I want to keep a collection of images (which arrive via RSS) on a shared network drive (for anyone to have SFW desktop backgrounds). However, some of the images that arrive are absurdly small (85x75, ...
8
votes
2answers
650 views

Are there any comic book authoring programs?

Is there any software designed to assist with creating comic books? The basic features needed are pre-drawn frames around the panels and the ability to easily drag and drop characters into the scene, ...
0
votes
1answer
165 views

Imagemagick mogrify with shadow geometry

How can I specify the size of a shadow with imagemagick? This command works: montage foo.jpg bar.jpg foobar.jpg -background lightgray -geometry 1031x1642+57+57 -shadow -monitor -tile 3x1 out.png ...
0
votes
1answer
136 views

Linux Bash resize image half the size (linear)

I'm trying to come up with a way of resizing images in a directory by half (longways). I have already used: mogrify -resize 50% * It does resize all the image in the file but width and length ways....
2
votes
2answers
1k views

Script to determine if files are Images

I would like to create a shell script that will check to make sure all files in a directory are image files. We recently had an issue where a hacker was able to generate a file in a directory and ...
3
votes
2answers
475 views

Terminal with image support

Is it possible to have sort of a hybrid terminal that can display isolated images in one or more designated panes? As I understand it, modern terms are graphical emulations anyway, so obviously they ...
0
votes
2answers
431 views

Downloading images from csv file to a folder based on its id

I have a csv-file that looks like this (short example, there are actually about 20 images per id). 2463666;client@email.fi;yleiskuva;7;kivirealty-original;7;http://d372r717gpt3jp.cloudfront.net/...
1
vote
0answers
52 views

save transparent web images on linux mint

I have just installed Linux Mint (this is my first day using). I'm using Google chrome and search Google images for a transparent png, for example an icon with no background. I am right click saving ...
3
votes
1answer
152 views

Digital Photograph Forensics Software for Linux

Is there any forensics software that can handle digital Photograph for linux ? An opensource software is preferable
2
votes
1answer
125 views

How to extract comment from ppm file?

I have ppm file X.ppm with comment : xxd X.ppm|head -10 0000000: 5036 0a23 206d 6967 6874 796d 616e 6465 P6.# mightymande 0000010: 6c20 2d32 2e38 3034 3132 3232 3037 3833 l -2.80412220783 0000020: ...
2
votes
1answer
150 views

Replacing a partition within a .img with another one

I have 2 .img files (embedded Linux images, each with 2 partitions- a boot partition and a rootfs). I need to replace the rootfs partition in one with the other's. How can I do this In the .imgs ...
1
vote
0answers
44 views

OCR for getting text from an image. Error management

I want to use an OCR program to obtain some text in an image. The text is not black on white so I don't know if it will be possible. wget -q -O image http://4.bp.blogspot.com/-mIE4JlppKMU/T9_mxKR__wI/...
9
votes
1answer
2k views

Searching for a command line tagging tool for mp3 and ogg that supports pictures

I am searching a command-line tagging tool that supports ogg- and mp3-tagging and allows to add a picture to the tags. Currently I use lltag but that does not support pictures. dagger is the tool I ...
0
votes
1answer
645 views

Clonezilla fails while cloning/imaging the entire HDD

I am using Clonezilla Live DVD to image my entire HDD consisting of several partitions. An overview of the partitions can be seen in the following excerpt from the log file of Clonezilla: Machine: ...
5
votes
2answers
1k views

displaying page 2 etc of multipage tiff

I have a multi-page TIFF file produced from scanning. When I open the file (Image Viewer), Next goes to the Next image file in the folder not the next image in the file. Is there a hidden option to ...
5
votes
1answer
3k views

Setting image for i3-lock: “Could not load image x: out of memory”

I use this command for locking screen: i3lock -i /home/freyja/pics/owl.jpg The screen is locked, but there is no picture (only white background). When called from console the command says: Could ...
5
votes
2answers
3k views

How to split an image vertically using the comand line?

So, say I have a large 800x5000 image, how would I split that into 5 separate images with dimensions 800x1000 using the command line?
5
votes
1answer
396 views

Ways to convert and combine image files into a pdf file?

I have about 190 image files (png and jpg) in a directory. For more information, each image has 2500 x 3072 pixels, and about 500KB. I use the command convert from ImageMagik to convert and combine ...
2
votes
1answer
90 views

Sorting image files based on whether the content is picture or graphics: updating an older solution?

Someone wanted to sort files in a directory according to whether the files are pictures(camera) vs. design graphics. On Stackoverflow, there is an older solution/proof-of-concept involving the ...
0
votes
1answer
93 views

running script with -o argument pointing to mount point of sd-card

I was trying to install Angstrom Linux on Colibri T_30 board---but I am stuck at one point where it specifies that run update.sh script with optional -o argument pointing to mount point of ...
1
vote
1answer
145 views

How to add searchable text to an image?

I need to add text to an image (original image can be jpg, gif, or bmp) file, how can I do it? I added the texts with shutter to an jpg and converted to pdf. Tesseract has not been able to turn the ...
2
votes
1answer
2k views

Capture raw image from V4L (webcam) device

I'm using a Raspberry pi to monitor a self-service fridge. When the door opens, a shell script is being executed to capture pictures until the door closes again. The problem, however, is the speed of ...
8
votes
1answer
957 views

Combine multiple PDF files into one (arranged in a matrix)

Having a set of PDF files, lets say: in-01.pdf, in-02.pdf, in-03.pdf, ... I would like to combine all of them into a single one, forming an M x N matrix. The command montage allows for doing so (M ...
0
votes
0answers
322 views

Get color depth of BMP

I have a .bmp file, and I want to check the color depth. How do I do this? I have tried both file and convert, but they give different outputs, so I don't know which is right.
20
votes
2answers
10k views

How to Extract Album Cover Image from MP3 file?

I have a bunch of MP3 files that have their album art included within the file itself. I am now looking for a way to extract them to store them separably, at best from command line. Is there a way to ...
0
votes
1answer
464 views

How can I make a montage which seamlessly tiles the same one image file?

I would like to preview how one single image (768x1024 px .tiff) would look as a pattern by generating an output file where it is tiled in such and such a way (4x4, 5x5, etc.). The image should be ...
2
votes
1answer
249 views

Find Largest Image Dimensions in Folder

I need a command which will allow me to search a folder of images for the images with the biggest width and the biggest height. As of now I'm using XNViewMP to find this info, but I'd like a faster ...