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
0 votes
1 answer
39 views

tesseract ocr: why a png image containing computer digits returns me garbage when I ocr it to a text file?

I've installed tesseract ocr 5.3.0 (on Debian 12) I want to scan and ocr this png file: When I execute a: tesseract cp1.png cp1 the output cp1.txt contains unexpected garbage: y ...
Marc Le Bihan's user avatar
1 vote
0 answers
70 views

How do I create very large .gif files from .png frames, avoiding memory limitations?

I would like to create a .gif from single .png frames and am dealing with lots of very large files. The .png files are roughly 10GB in total. So far, I have done the following: ffmpeg -framerate 30 ...
knods's user avatar
  • 11
0 votes
0 answers
41 views

ffmpeg png to mov keep exact colors

When I convert a PNG sequence to a h264 (yuv420p) movie and read the color values via FFmpeg's rawvideo pipe output, the values on each pixel is slightly modified. This is how I write my image: import ...
redesigndavid's user avatar
1 vote
1 answer
234 views

Preserving transparent colors when converting svg to png

I have an SVG file that contains transparent colors like "#FF000080". When I convert the SVG to PNG using ImageMagick, the transparent colors are converted to black. (Any colors without an ...
user avatar
2 votes
1 answer
45 views

How to convert multiple embedded PNGs to JPEGs in Powerpoint file? - Filter PNGs by size

This Powershell script "How to convert multiple embedded PNGs to JPEGs in Powerpoint file?" works great, but: I also have lots of PNGs in the PPT, which are quite small and have transparent ...
AKV's user avatar
  • 23
0 votes
0 answers
26 views

identify PNGs in SVG's clothing

I sometimes encounter "faux" SVGs, i.e., SVG images files that simply list pixels as paths: <svg xmlns="http://www.w3.org/2000/svg" width="1295" height="573"&...
Nico Schlömer's user avatar
0 votes
0 answers
30 views

Windows file names without brackets [duplicate]

I have a Windows folder containing 73 images. I'd like to rename them from something(1).png to something-1.png (... to something-73.png. How can I do that? F2 does not seem to work Rightclick and ...
Sylvia's user avatar
  • 101
0 votes
0 answers
260 views

Only PNG thumbnails are not shown on Windows 10, unless the defail app is Paint.NET

On my ASUS laptop with Windows 10 (UX425J) I have a problem very similar to what is described in Thumbnails (only .png) and some icons on taskbar stop showing (Windows 10) and Can't see PNG previews ...
Alexander Z.'s user avatar
0 votes
1 answer
619 views

Invalid PNG signature FFmpeg

I am using FFmpeg to generate a video from a set of images in .png format. I used the below command to extract the images from a video. ffmpeg -i RGB.mkv -map 0:0 -vsync 0 -c:v copy RGB-%04d.png I ...
Ashutosh Singla's user avatar
1 vote
0 answers
196 views

Merging a list of PNG and JPG images into a video is not working

I'm trying to merge a list of images JPG and PNG (contains transparent area) following the rules below: If the image is a PNG, it should be drawn over the previous JPG image. If the image is a JPG, ...
Mouaad Abdelghafour AITALI's user avatar
8 votes
1 answer
2k views

How to convert all non-white parts of an image to black?

I have the following png image: I want to convert the edges that aren't black to black. I have tried convert <input> -threshold 80% <output> but this gives which has changed the look of ...
Simd's user avatar
  • 927
0 votes
0 answers
341 views

FFMPEG converts HEVC with Alpha mov to PNG sequence not work well

I have a mov file with HEVC with Alpha codec on Mac. The mov file has no background color, but have some foreground contents in it. I want to use FFMPEG to grab some PNG pictures from it. Following is ...
topfortune's user avatar
0 votes
0 answers
23 views

Is there a program that can select the smallest files by size during a file conflict in windows 10

So I'm resizing some VTFs by converting them back into PNGs then sizing them down to 512x512 as maximum anything smaller stays what it is. that said I have 2 folders 1.oldmats 2.newmats. now while ...
Fred's user avatar
  • 1
0 votes
2 answers
4k views

How can I automatically copy screenshots to .jpg instead of .png on Windows?

I have tried various tools such as Greenshot, Ksnip, and ShareX as well as Windows clipping tool, etc., but I can only get it to save as .jpg, not copy to clipboard. I want this because for web use I ...
Eternal482223's user avatar
2 votes
1 answer
2k views

Ffmpeg: suppress warning when writing to a single image

Somewhere in the more recent versions, ffmpeg started printing this warning when I process png files: ffmpeg -i "src.png" -vf "$vf" "dst.png" The specified filename './...
Estecka's user avatar
  • 133
1 vote
1 answer
861 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
265 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
2 votes
0 answers
106 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
  • 39
0 votes
3 answers
895 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,670
0 votes
1 answer
1k 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
  • 127
0 votes
2 answers
1k 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
2 votes
1 answer
2k 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
2 votes
1 answer
580 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
  • 23
0 votes
1 answer
5k 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,808
2 votes
1 answer
891 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
  • 31
0 votes
2 answers
382 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
31 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
2 answers
601 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
2k 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
82 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
6 answers
5k 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
215 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
641 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 ...
xTerrene's user avatar
  • 184
2 votes
1 answer
413 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
  • 412
0 votes
1 answer
2k 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
674 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
1k 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
2k 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
2k 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
3k 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
465 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
85 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
  • 454
0 votes
1 answer
385 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
227 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
2k 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
  • 363
1 vote
2 answers
441 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
812 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
148 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
9k 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
  • 412
1 vote
1 answer
780 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
2 3 4 5
7