It is currently Thu Jul 23, 2026 2:57 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Default jpeg/jpg saving command in plug-ins
PostPosted: Wed Nov 06, 2024 4:04 pm  (#1) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4513
Location: Canada
This is one the command that takes me the longest to build everytime I need to save as jpg
the 1.0 the the quality 100%
using the below command, we just have change the image,visiblelayer,rawpath,rawpath and the rest can be left alone if you want to save as the defaults in GIMP for jpegs.
pdb.file_jpeg_save(image,visiblelayer,rawpath,rawpath,1.0,0,1,1,"image comment",2,1,0,0)

with png there's already a png_save_default something so no need to prebuild that command.

_________________
TinT


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group