Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Batch conversion from JPG to PNG
#5
Thanks for the example.

I can see the problem, the BIMP png's have an alpha channel which adds to the size. I tried all ways but I can not see any way to get BIMP not to add an alpha channel. It must be a bug, even goes back to older (1.18) versions. I will post a bug report but not much activity on the BIMP front these days.

Two options:
Use BIMP to batch produce the pngs. A second operation using the attached plugin advanced_batch_remove_alpha.py to remove the alpha channel from those files. From a test that gives the same size as exporting one-by-one.
or
Not Gimp, use ImageMagic https://imagemagick.org and a command line in the file folder
Code:
magick mogrify -flatten -quality 100  -format png  *.jpg
Not quite as small as Gimp but close.


Attached Files
.zip   advanced_batch_remove_alpha.zip (Size: 2.85 KB / Downloads: 139)
Reply


Messages In This Thread
Batch conversion from JPG to PNG - by pygmalion - 09-16-2020, 06:20 PM
RE: Batch conversion from JPG to PNG - by rich2005 - 09-17-2020, 10:31 AM
RE: Batch conversion from JPG to PNG - by Ofnuts - 09-19-2020, 07:57 AM

Forum Jump: