Questions tagged [png]

The tag has no usage guidance.

0
votes
0answers
9 views

Using convert to crop scanned images and create pdf

I have 3 images I've scanned, that are legal sized (8.5*14), but the scanned paper is actually letter (8.5*11). I want to crop off the bottom 3 in from each image and output 1 image per page. This ...
0
votes
0answers
20 views

Why is my png image data disappearing?

I've been creating a few PNG images with some maps in the last days (using R). After the images are finished, I move them to a separate folder labeled "ok", so I don't get the risk of overwriting them ...
0
votes
0answers
53 views

GStreamer: APNG, GIF or animated WebP

I want to generate an animated preview of a video using gstreamer for preview on a webpage. I'm able to get a static PNG with the pipeline filesrc location=... ! decodebin ! videoconvert ! pngenc ...
4
votes
0answers
113 views

rsync gets stuck on *.png files [closed]

I have been running the following rsync command as a cronjob for the past month. Today I discovered that this has been getting stuck on a *.png file and none of my other data has been backing up! In ...
6
votes
2answers
1k views

Convert PDF to images in 1920x1080

i want to convert a PDF to PNG images using convert. The images must fit the 1920x1080 ratio by having a ?x1080 ratio, and have the best quality. Here are many options i can use with convert : https:/...
0
votes
1answer
35 views

Tricky issue with stata and libpng

I use stata 14 in Linux mint 19.3. For some reason stata has a problem with the libpng included in Linux mint 19. To fix that, I followed a fix that installs an older version of libpng (see here) to ...
0
votes
1answer
58 views

How to convert a png file from from 600 x 800 into 600 x 400? [duplicate]

Get info on my source png file. file old.png old.png: PNG image data, 600 x 800, 8-bit colormap, non-interlaced I want to convert old.png from 600 x 800 into 600 x 400. convert -resize 600x400 ...
0
votes
1answer
306 views

What is this GhostScript error? “/undefined in /BXlevel”

At first I thought this might have been a missing font issue but as far as I can tell from the output, GS is finding the font just fine.. Any hints as to what the problem might be? $ /usr/bin/gs -...
3
votes
2answers
67 views

How can I save a scrollable terminal window (RoxTerm) into a png image?

I would like to save a Ruby program coloured terminal output into a png file, output doesn't fit into the screen height, so it is scrollable. Is it possible to save the whole or part of the scrollable ...
2
votes
0answers
145 views

Create small high-quality GIF/APNG from a bunch of PNGs

I have 50 PNGs (like those ones here) and I would like to create a GIF (or APNG) animation from it that approximately retains the quality and is small. What I'm doing so far is to rescale and throw ...
4
votes
2answers
9k views

How to get the DPI of an image file (PNG)

If I export an image with lets say 300 DPI and I read out its meta-info with any application that can do it (like file, exiftool, identify,mediainfo etc.), I always get a value showing Image-Width and ...
0
votes
1answer
39 views

Replace a certain color of pixels in a png with another png image

I have a png (items.png) which consists of mostly black pixels. I want to replace all the black pixels with another image. (background.png) The images are not the same size, items.png is smaller ...
1
vote
0answers
51 views

match and replace section in PNG file

is it possible to use command line program to replace a section within PNG when it match sample picture? like: When weather report in PNG match the image of "sun.png", replace that specific section ...
1
vote
1answer
2k views

Display a png image file on a framebuffer: png-fb source

I want do display a png image on a framebuffer on an embedded Linux. I already found the manpage of png-fb: man fb-png But I could not find a source for that. Does anybody know the source for that ...
1
vote
0answers
141 views

crop and convert to pdf adds unwanted margin

I have a few PNG files that I want to print in a certain scale. For that I want to convert each of them to (DIN-A4 sized) PDF and crop into multiple pages. So far I've used this command: convert -...
1
vote
1answer
170 views

How to read XML input in lstopo

I have an XML output file from the lstopo command and I wanted to build a PNG file for it. Can I do this using the command line? Something like: lstopo -i out.xml -o abc.png Is something like this ...
0
votes
1answer
58 views

Windows visio pngs can't be opened on linux

I have a PNG image created from VISIO under windows which I tried to use in LaTeX. However, every linux program (LaTeX, Okular, GimP) claims the file is corrupted, however, it shows up fine in Chrome. ...
2
votes
1answer
105 views

Searching Files according to PNG Meta-Tags

I want to search for PNG's in a (sub-)folder structure with the meta tag software set to the value GNOME::ThumbnailFactory and delete them with a single bash command. Have the story behind it, you ...
1
vote
1answer
35 views

Need to replace one cursor of a set; have already created the PNG for the cursor

I have created a replacement for xterm cursor that will allow me to see the cursor (Windows, incidentally, calls the xterm cursor the "i-beam", which is rather more descriptive) much better. Problem ...
5
votes
2answers
760 views

Create the same PNG with ImageMagick 2 times: Binaries differ

I create two images that should be identical, but their binaries are different: $ convert -size 1x1 xc:white out1/w.png $ sleep 1 $ convert -size 1x1 xc:white out2/w.png $ diff out1/w.png out2/w.png ...
2
votes
1answer
2k views

limitations of CUPS command line printing of image files

I have my default printer set: lpoptions -d HP_ENVY_5530_series. I can print some text: echo HELLO > h.txt lp h.txt CUPS understands many different types of files directly, including text, ...
2
votes
3answers
356 views

Bash script to minify PNG's keeps stopping

I have tried to run this script a few times now and it keeps hanging. I have 60,000 images and it goes through about a 1000 and then stops. I have been running the top command and the process ...
5
votes
1answer
1k views

Convert Xcursor to PNG

Xcursor is a format for the graphics of the cursor in X11 (file reports X11 cursor). xcursorgen allows you to convert PNG files and some metadata to Xcursor files. How do I convert an Xcursor file ...
4
votes
2answers
186 views

How do I write a script to automatically optimize all the PNGs in my MediaWiki images directory?

I have MediaWiki 1.25.2 installed on my 64-bit Debian 8.1 VirtualBox machine and I'd like to be able to upload the images/ directory from this installation to my DropBox. Being a cheapskate I'm trying ...
1
vote
1answer
10k views

Conversion from PNG to EPS

I would like to convert PNG images/graphs to EPS without losing even a bit on resolution. All the commands I tried (potrace, autotrace, convert, gimp) decrease the resolution quality.
3
votes
1answer
11k views

Imagemagick used to generate PPM's in Linux, PPM's are unreadable

I need to generate PPM's as raw data sources for one program. I have a bunch of png's as Input, which I'm going to convert ppm's. When I try a tool like mogrify it generates files, but these are ...
5
votes
3answers
3k views

How to convert multiple XCF files to PNG?

I have a folder with a lot of xcf files which I want all to be converted to png files, at best via a one-liner from bash. How can I achieve such a task?
3
votes
1answer
420 views

Icon themes, when is svg format helpful?

I found that arch provides both oxygen-icons and oxygen-icons-svg, what's the necessity of svg format? Is there something that a PNG image "can't do", maybe performance issue? Not sure about it.