As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [png]

PNG (portable network graphics) is a popular image format that supports 32-bit colors and transparency.

Filter by
Sorted by
Tagged with
1 vote
1 answer
95 views

combine pngs images with transparency into a video and merge it on a static image

I'm trying to combine multiple png frames into a video with ffmpeg, keeping the transparency, to then combine it with an image. The png video comes with a black background so when i try to combine it ...
andyts93's user avatar
  • 111
0 votes
1 answer
68 views

Is image file of bit depth 24 stored as 32 or 64 bit for Windows 10 64-bit (operating system)?

I need help to calculate compression of a PNG file in Windows 10 64-bit operating system. Formula is raw data size = image width * image heigth * (bits per pixel / 8). Comment from the author of above ...
SunnyTac123's user avatar
1 vote
0 answers
32 views

Keep transparency when saving svg animation to apng sequence

Is there a way to do this on Windows? I tried ImageMagick with no luck. Some programs work for static svg files, but I haven't found a way to do this for svg animations. I have an animation file in ...
senops's user avatar
  • 29
0 votes
1 answer
170 views

How to print as a bitmap?

When using programs that allow printing, in the Print dialog I can choose to print the output to a PDF instead of sending to a physical printer (for example, selecting the "Microsoft Print to PDF&...
ysap's user avatar
  • 2,590
0 votes
0 answers
112 views

How can ffmpeg concat MP3s with full metadata incl. cover art?

Audio books inconveniently split into dozens of MP3s (with spaces in their names) should be merged into one MP3 in a subdirectory (in which ffmpeg version 4.2.7-0ubuntu0.1 is invoked), without time-...
TEN's user avatar
  • 1
-1 votes
1 answer
435 views

Generate PNG with custom text from font file

I have ~200 font files and need to generate .png files that have text inside them rendered using the font in question. Example: Roboto.ttf (or any font format) => .png file that has text "...
Tom's user avatar
  • 117
0 votes
2 answers
355 views

Thumbnails (only .png) and some icons on taskbar stop showing (Windows 10)

Thumbnails of .png files and some icons on taskbar (Calculator, Settings, Photo Viewer etc) stopped appearing (but with .jpg thumbnails everething is fine) I suspect that the reason is my messing with ...
Eugene Kuklin's user avatar
1 vote
1 answer
320 views

Save As PDF reduces image quality even when "Do not compress images" is enabled

I'm using Microsoft Word and have the settings set to High Fidelity and Do not compress images in File but when I do Save as PDF with PNG images in them, they still get compressed and lose quality. I ...
Harry McKenzie's user avatar
1 vote
1 answer
307 views

Getting “Invalid argument” error when attempting to check PNG images with pngcheck

I've learned about pngcheck which I was hoping to use to find and highlight possible corrupted png files. When I run the command c:\pngcheck\pngcheck *.png in the folder containing the files, I get *....
TenneR's user avatar
  • 13
0 votes
1 answer
2k views

How can I optimize an animated PNG (APNG)?

I have an animated PNG that is about 150KB. It’s 24 frames. If I run it through a typical PNG optimizer like ImageOptim or Squash, it turns into a non-animated PNG of 3KB and one frame. I am dead sure ...
Alan H.'s user avatar
  • 2,748
0 votes
1 answer
454 views

Using FFmpeg to make a movie from PNG files: .WEBM with video filter blending error: Output file is empty

Commands: ffmpeg -framerate 0.5 -i %03d.png ffmpeg-framerate0.5.webm and ffmpeg -r 0.5 -i %03d.png ffmpeg-r0.5.webm create a working .webm videos, just as expected. But ffmpeg -framerate 0.5 -i %03d....
Sage's user avatar
  • 1
0 votes
2 answers
138 views

How to copy png file with text editor?

How do I copy a png file with text editor on Windows? When I open a file with text editor and copy and paste the contents into a new file, the new file is corrupted and unopenable. How is this file ...
Isaac W's user avatar
-1 votes
1 answer
20 views

How to save PowerPoint 365 slide as image at Clipboard quality of JPG or PNG format ? Tech Support typically only supports JPG or PNG for upload

How to save slide as image at Clipboard quality? 1. Screen Capture quality visually identical to Monitor view 1. sample of Screen Capture directly pasted 2. file direct save nor export result in ...
panes-rubrics.0l_icloud.com's user avatar
0 votes
0 answers
52 views

Specifying the name and extension with Imagemagick mogrify

I have a number of png files that I would like to tile crop. The resulting png files should have a 256 color palatte and be in the format of name_##.png (image_01.png, image_02.png, etc) Following the ...
user09274385's user avatar
0 votes
2 answers
235 views

How do I convert ICNS to PNG while removing the extra transparent area?

I have about 200+ .icns files that I would like to convert to png to use somewhere else. However, the .icns files are a 1024x1024 area that come with a sizeable transparent area around the actual icon....
Sidewinder's user avatar
0 votes
1 answer
1k 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 ...
FiveTD's user avatar
  • 3
0 votes
1 answer
50 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?
Curiositykilledthecat's user avatar
1 vote
5 answers
2k 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 ...
Maximillian Laumeister's user avatar
1 vote
0 answers
129 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 ...
kerstoff0mega's user avatar
1 vote
1 answer
378 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 ...
EarthToAccess's user avatar
2 votes
1 answer
389 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) ...
goldnick7's user avatar
  • 364
0 votes
1 answer
1k 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%...
Stéphane Laurent's user avatar
1 vote
1 answer
327 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 ...
OzDrDj's user avatar
  • 11
1 vote
1 answer
681 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 ...
Artur Shaikhutdinov's user avatar
1 vote
2 answers
1k 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 ...
Sailor Guy's user avatar
0 votes
1 answer
1k 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? ...
karl-police's user avatar
1 vote
1 answer
2k 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=...
DDuf's user avatar
  • 11
4 votes
1 answer
359 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 ...
TJ Ellis's user avatar
  • 143
0 votes
0 answers
66 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: ...
Thomas W.'s user avatar
  • 414
0 votes
1 answer
168 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 ...
QuirkyBit's user avatar
  • 101
0 votes
0 answers
111 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 ...
JBart's user avatar
  • 13
0 votes
1 answer
1k 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 ...
Artfaith's user avatar
  • 294
1 vote
2 answers
271 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-...
wheel58m's user avatar
0 votes
1 answer
437 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 -...
Robinson's user avatar
  • 105
0 votes
1 answer
128 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 ...
john's user avatar
  • 1
2 votes
1 answer
6k 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 ...
goldnick7's user avatar
  • 364
1 vote
1 answer
609 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 ...
makeworld's user avatar
  • 121
1 vote
0 answers
55 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 ...
aaa90210's user avatar
  • 161
2 votes
3 answers
7k 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, ...
Clayton Rothschild's user avatar
0 votes
1 answer
551 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 ....
odxxd's user avatar
  • 3
0 votes
0 answers
56 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 ...
Joan Venge's user avatar
  • 1,444
3 votes
1 answer
464 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 &...
sayhuna's user avatar
  • 35
0 votes
1 answer
628 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 ...
Probbes's user avatar
3 votes
1 answer
130 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 ...
finlay morrison's user avatar
0 votes
2 answers
761 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 ...
young_souvlaki's user avatar
2 votes
2 answers
6k 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-...
Zombo's user avatar
  • 1
0 votes
1 answer
596 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 ...
Hurda's user avatar
  • 197
0 votes
2 answers
74 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 ...
yunzen's user avatar
  • 127
2 votes
2 answers
4k 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 ...
Mikael's user avatar
  • 25
2 votes
1 answer
528 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 ...
jippyjoe4's user avatar
  • 1,208

1
2 3 4 5
7