Questions tagged [png]
PNG (portable network graphics) is a popular image format that supports 32-bit colors and transparency.
292
questions
0
votes
1
answer
16
views
Convert PPM to PNG
I recently finished the raytracing tutorial "Ray Tracing in One Weekend", which outputs to PPM. I'm trying to convert to PNG to share my results, but all the solutions I've tried have thrown ...
0
votes
0
answers
26
views
Why FFmpeg not support multiple color palette when encoding apng?
When I encode png sequences to apng animation using FFmpeg, the result is good but the file size is too large. If I compress the images using pngquant and then run FFmpeg, it throw out en error :
...
0
votes
0
answers
20
views
Using draw.io or some external script has anyone been able to issue a command which saves all XML diagrams in each tab to a set of PNG files? [closed]
Using draw.io or some external script has anyone been able to issue a command which saves all XML diagrams in each tab to a set of PNG files?
I have received several XML files from a colleague, each ...
0
votes
1
answer
13
views
Can apng or any other image filetype be animated over many years?
I am wondering if there is a suitable image type that can be animated or a layer can be animated to vanish over a long period of time... like years?
0
votes
0
answers
99
views
Windows 11 file explorer no longer shows thumbnails for PNG images
Thumbnails for .jpg, .webp, .mp4, and other file formats seem to work just fine, it's only .png files that don't work.
Things I've tried:
Removing my thumbnail cache using the disk cleanup utility
...
0
votes
0
answers
23
views
When irfanview is default to open png they get called jpeg file and it's confusing
I have Win10 Pro and use Irfanview as my default for viewing images.
Today I noticed that png files (and they truly are png files - not anything else with the wrong extension) have the label 'Jpeg ...
1
vote
0
answers
34
views
Performing a batch check on PNG/TGA files to see if they use transparency? [closed]
The problem I'm facing is: I need to run a check against a huge pack of many files, including *.png and *.tga ones. I need to find out if they actually use the transparency/translucency/whatever can ...
0
votes
1
answer
61
views
How does one embed license (or other) information into a PNG file?
I want to preface this by saying no, I don't mean steganography. What I'm looking for isn't simply putting text etc. into an image file through things like Outguess or OpenStego.
A software company ...
2
votes
1
answer
217
views
Check whether output is smaller than input? (ffmpeg conversion with batch)
I've made a batch file that's able to compress many png files (with ffmpeg) as well as remove any unneeded metadata (using exiftool).
@echo off
title Compress png to png
color 08
FOR %%a IN (*.png) ...
0
votes
1
answer
270
views
Convert eps to png with GhostScript on Windows
If I have some .eps files e.g pic00.eps, pic01.eps, ... Then on Linux I convert them to .png files by running the command:
gs -dSAFER -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=png16m -r600 -sOutputFile=pic%...
0
votes
1
answer
50
views
Create a New Image File Extension in Windows 10 that operates like an image file
I would like to add some new file extensions to my system.
Short Version - I would like to add PNG2, PNG3, PNG4, PNG5 exact copies of PNG and JPG2, JPG3, JPG4, JPG5 again, exact copies of JPG. I want ...
0
votes
0
answers
56
views
Extracting high quality frames from video then make video by ffmpeg
I want to extract images of frames from full lenght movie. I tried png format but I still see artifacts... Bmp is to big for my disc. There is something better than png but not much big with size? ...
1
vote
1
answer
230
views
Why does Google Chrome and Safari copy image as PNG representation?
I thought that Chrome copies a source image to clipboard, but it creates a PNG representation and pastes the representation to a clipboard when I use a context menu button 'Copy Image'.
I checked ...
0
votes
1
answer
421
views
FFMpeg - JPG/PNG images render in incorrect orientation in MP4 output file and can't be combined in same MP4 video
I am a new user to FFMpeg.
I want a command-line that will create a basic slideshow MP4 video from a folder of JPG and/or PNG images. The images are sourced from either digital cameras/smartphones or ...
0
votes
1
answer
597
views
Does PNG/APNG support 60 FPS animations, or are they limited like GIFs? [closed]
A similar question like Do 60 FPS GIF's actually exist? Or is the maximum 50 FPS? but this time for PNG or APNG or any other thing, like WebP.
Is it possible to achieve 60 FPS animations with PNG?
...
0
votes
1
answer
777
views
Making GIFs with ffmpeg: what does "transparency_color" do?
I've been making GIFs from PNGs using FFmpeg, using commands like the following:
ffmpeg -framerate 10 -pattern_type glob -i '*.png' -filter_complex "[0:v] split [a][b];[a] palettegen=...
4
votes
1
answer
259
views
Copy a `dot`-generated graph to the clipboard (e.g. as png)
I often find myself wanting to make a quick graph to illustrate dependencies or a process.
dot is nice for doing this, however it would be much more convenient if I could generate the rendered graph ...
0
votes
0
answers
46
views
Outlook mis-declaringn TIFFs as PNGs
I often receive emails with screenshots as inline images sent from Outlook/Office365 where the image is sent like this:
Content-Type: image/png; name="image001.png"
Content-Description: ...
0
votes
1
answer
64
views
Word is cropping and adding white instead of a full image
I am trying to insert a PNG image into my word document, but it doesn't insert the full image and instead inserts a cropped version of it with some image being just white:
The full image is supposed ...
0
votes
0
answers
53
views
How do I print an extremely long but narrow image (png file)?
Someone asked me to print out an entire conversation thread they had on a messaging app, graphics and all. (Don't ask.) The app is Viber; neither the iphone nor desktop app has a print function, and ...
0
votes
1
answer
557
views
A PNG sequence to a GIF results in artifacts
Why would FFmpeg create these artifacts like remaining pixels on the edges of the animation where objects have already removed and how to remove these?
Why would it create this magenta/red colored ...
1
vote
2
answers
85
views
Is it possible to quickly export a .jpg and .png simultaneously in Photoshop?
I work with product images for an online retail site. Each product image needs to have a .jpg copy and .png copy. Currently, I just export once as .jpg and then export again as .png. This is both time-...
0
votes
1
answer
145
views
ffmpeg not making the correct video size
I've been trying to join a bunch of .png files into an mp4. The .png files are all 1920x1080 but my output file is always smaller, i.e. 1920x1072. What silly mistake have I made here?
ffmpeg -...
0
votes
1
answer
60
views
Can be changed to batch file?
I would like to create a .bat file that converts all .png files in a folder into individual .mp4 files that have the same name as the .png file:
This converts a .png into a 30s video, however how do ...
2
votes
1
answer
3k
views
How to convert svg to png with ffmpeg?
Is there a way to convert svg files to png using ffmpeg on Windows 10 64bit?
I obviously tried ffmpeg -i "file.svg" "file.png" and it doesn't work by default.
Perhaps there is ...
1
vote
1
answer
534
views
Why does this PNG display differently in Firefox vs Chrome?
Here is the image:
This image has no gAMA chunk or color profiles. I tried to remove the sRGB chunk, but have not been able to, with pngcrush or pngfix.
Despite this, this image displays differently ...
1
vote
0
answers
22
views
PNG -- extract transparency mask, color, then reapply
I have a PNG which is basically some icons colored in certain ways, with a transparency mask around the edges of them.
I want to recolor these icons in certain ways.
The way I want to approach it is ...
2
votes
3
answers
3k
views
How to increase the byte size of a file without affecting content?
Is there a way to easily and arbitrarily increase the byte size of a file without corrupting its content? For instance, by inserting dummy bytes. The file for my use case is of type png.
I am on OS X, ...
0
votes
1
answer
114
views
I need Windows CMD to loop through folders in a directory and execute a command to convert webp to png on each one
I have always use this command line to convert .webp to .png:
for %f in (*.webp) do dwebp.exe "%f" -o "%~nf.png"
Works like a charm for single folders, but now I have several ....
0
votes
0
answers
53
views
How to ignore transparency when using ffmpeg with PNG files? [duplicate]
Every topic I find shows how to keep the transparency but I want to remove it without having to change the image format.
Camtasia is crashing when I import the ffmpeg encoded MP4 file using the PNG ...
2
votes
1
answer
200
views
Split a large packed file based on hex/string
I have a large package file which has a lot of files in it.
For example, a file named "Data.Rpack" which has 50 *.PNG files.
When I opened a PNG image file with Notepad++, it started with &...
0
votes
1
answer
275
views
ffmpeg: How to scale .png over time
I would like to slowly scale up a .png over 10 seconds, from start to finish.
I'm having trouble finding the solution. I am new to ffmpeg, and I don't seem to find any solutions to my issue.
ffmpeg -i ...
3
votes
1
answer
77
views
how to compress an extremely large (1 million pixel x 1 million pixel) P4 PBM file into PNG
I have a 128GB .pbm file for the Mandelbrot set, and I would like to compress this into a PNG file so it takes up far less space. is there any feasible way to convert a file this large, I only have ...
0
votes
2
answers
372
views
Convert mathematical formula to image locally on Linux
Looking for a way to produce .pngs or similar of mathematical formulas locally, for use in documents and presentations.
There are plenty of online tools, but I was hoping for a tool I can use from the ...
2
votes
2
answers
4k
views
Decode WebP with FFmpeg
I would like to convert this file:
https://gstatic.com/webp/gallery/1.sm.webp
To PNG or JPG with FFmpeg. I tried this:
ffmpeg -i 1.sm.webp a.png
but and error was produced:
ffmpeg version git-...
0
votes
1
answer
373
views
ffmpeg - encode file for iPad (xlib264) and add thumbnail in one go
I would like to put some videos on iPAd with Cover/Thumbnail image
I can do that in two steps. That seems to work, but I'm not able to encode and add image at the same time.
(Win 10 and the latest ...
0
votes
2
answers
65
views
Set display color of transparecy in PNG
Is it possible to set the color that the transparency of a PNG should be displayed with, if viewed standalone?
My motivation is: if I have a PNG with white text and transparency and I show this image ...
2
votes
2
answers
2k
views
How to save high resolution charts .png in Excel for Mac?
Is there any way to save a chart from excel to a high resolution png-file on office for Mac? I have tried to copy them into Word as well as saving them as a html-file, but the quality becomes really ...
2
votes
1
answer
371
views
Is it possible to compress alpha and RGB channels of PNG sequence separately with FFmpeg?
Suppose I have a sequence of 32-bit (RGBa) PNG files. Is it possible to compress the RGB channel with one codec and the alpha channel with another? For example, if I had the RGB and alpha as separate ...
1
vote
1
answer
861
views
How to convert the svg outcome to png?
I am using this package to generate a sequence diagram
https://github.com/francoislaberge/diagrams
Here is a very simple sequence diagram file:
Alice->Bob:Hello
I ran this command
diagrams ...
1
vote
1
answer
363
views
Text highlight in image
I have articles of newspaper in png format, want to highlight these images similar to pdf text, is there any possible tool or method to do it?
I have syncronized this images in my desktop to cloud ...
0
votes
0
answers
122
views
How do I make my PNGs have transparent thumbnail in Windows File Explorer?
Example provided below of the issue (where a black PNG is all black)
0
votes
0
answers
41
views
"Canonicalize" PNG files
I am looking for a way to process a set of PNG files in such a way that if they contain the same image data, the files will be byte-by-byte identical too.
Is there a quick and easy, automatable way ...
2
votes
2
answers
4k
views
How to convert an in-line image to a floating image in Word?
I would like images that I insert into Word documents to have white resize handles and for it to be possible to group them with other images:
Currently, when I insert an image into a Word document, ...
1
vote
1
answer
135
views
How can I losslessly convert .webp images to .png?
I have a bunch of .webp images that I want to convert to .png. How can I do that without introducing any loss? GUI or CLI doesn't matter
5
votes
1
answer
484
views
How to determine the color mode of a .png file
How do you determine the color mode of a .png file? So if its black and white (grayscale) vs. RGB vs. RGB+transparency?
Can you do this without installing software? I am on windows (though I'm sure ...
0
votes
1
answer
108
views
FFMPEG image concatenation giving different results based on colors in PNG file
I am using the following code to take a number of PNGs of varying durations and the overlaying them over another video.
ffmpeg -safe -0 -f concat -i overlap-png.txt
-i mainvideo.MOV -...
0
votes
1
answer
508
views
Difference between GIMP Indexed color mode and Imagemagick -colors or -remap
My task is to reduce size of scanned text document into .png with acceptable quality loss.
My procedure consist of those steps:
Raw images are scanned in tif format and processed by ScanTailor (...
1
vote
2
answers
545
views
How can I increase the resolution of a text in a PNG file?
I have images (PNG) with text in them, but if you were to zoom it would become pixelate. How can I fix this?
I even have a PDF where if you zoom as much as you can you still can't see the pixels. But ...
3
votes
4
answers
2k
views
How to convert multiple images at once from JPEG to PNG?
How can I convert multiple images at once from JPEG to PNG?
The JPEG to PNG converter on my MacBook does not convert many images quickly at once. My option is now: Convert JPG to PNG - JPG4PNG