Questions tagged [png]
The png tag has no usage guidance.
38
questions
0
votes
0
answers
73
views
BASH: How to check if a file with a specific content is inside a png image
I have recently found a way to put files inside a PNG image without destroying the image using cat example.png example.7z > example-combined.png, which also works with standard ZIP archives. This ...
0
votes
0
answers
33
views
PCS illuminant is not D50
I am trying to convert the following JPEG image into PNG:
https://github.com/SixLabors/ImageSharp/issues/74#issuecomment-282734380
but I fail to understand what ImageMagick is trying to tell me.
...
1
vote
1
answer
42
views
Merge a png on top of a gif with shell
I am trying to merge a png with a gif (put the png on top of the gif) and then have the result as a gif.
I played around with convert, but cannot quite get it to work the way I need it.
I have tried ...
0
votes
0
answers
14
views
eog core dump on apparently-valid .png files
eog seems to be crashing all the time on me, for instance the following file opens fine in gimp but the usually handy eog barfs:
jeremy@jeremy-Blade:~/Dropbox/$ file KRT20024020000003509_mark.png
...
1
vote
0
answers
477
views
Tools to manipulate and generate apng with good compression in linux command line
I have recently working with apng. But apngs are larger than similar gif. Also I cannot find a good tool to manipulate apng. ImageMagick produces png for all modification, like (-color 124). To ...
-2
votes
1
answer
346
views
read apng (Animated PNG) [closed]
How to see those kinds of animations
Apparently Firefox support them, but isn't there a more dedicated software for that, a lighter one? A software dedicated to see a picture or something
1
vote
2
answers
269
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 ...
1
vote
2
answers
786
views
Convert pdf to png, size issue
I have a pdf file created from an impress presentation. I want to convert the pdf to png images to add them to create a video using them. I am using pdftoppm to convert the pdf to png, but the ...
1
vote
1
answer
54
views
Method to layout graphics file and pdf file for printing
I'm working on a project to automate the creation of shipping labels, (Avery 8127) to be exact. I get a PNG of the USPS/UPS/FedEx shipping label, but the packing slip can vary between a PDF or a ...
1
vote
1
answer
890
views
Why are my PNGs executable?
I noticed that most of my image files are green when the ls command is used but some of them look purple. Apparently .png and .jpg files are supposed to look Magenta while executable files are Green.
...
0
votes
0
answers
37
views
Converting many PNGs to PDF?
I have been using the following command:
convert *.png out.pdf
But it seems to be limited to only convert 38 images, the output file is about 50 MB, it makes me wonder if there is a limitation in ...
2
votes
1
answer
2k
views
Drawing a straight line with Pinta
I'm trying to superimpose a straight line onto a .png image. GIMP is notoriously impossible to use for simple things, so people have suggested Pinta.
However, as far as I can tell, the only lines you ...
0
votes
0
answers
124
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 ...
4
votes
0
answers
358
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 ...
8
votes
2
answers
6k
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
1
answer
119
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
1
answer
119
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 ...
1
vote
1
answer
1k
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
2
answers
280
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
0
answers
494
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 ...
20
votes
2
answers
28k
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
1
answer
255
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
0
answers
59
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 ...
2
votes
1
answer
7k
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
0
answers
290
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
1
answer
361
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
1
answer
80
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
1
answer
307
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
1
answer
127
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
3
answers
1k
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
...
4
votes
1
answer
4k
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
3
answers
493
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
1
answer
3k
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
2
answers
263
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 ...
4
votes
1
answer
14k
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.
5
votes
1
answer
15k
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 ...
7
votes
5
answers
5k
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
1
answer
530
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.