This was triggered by a post at the support, about a global setting of the transparency of a PNG in the Batch-dialog.
It isn't there, only the GIF-dialog has such an option.
(The GIF and PNG options are the same as in the single 'Save As' dialog)
So I investigated the GIF-dialog.
Two options :
t1. Choose transparent color during saving.
Then you'll get a small popup window with the image, and one has to click on some pixel to define the transparent one.
Before the final save is executed.
t2. Set transparency value to palette entry N (0 - 255)
Default = 0. If another value is entered, it will be saved for the next session
Saved in the INI-file together with the "t1. or t2." setting, in the [MultiGIF] group.
So this can be used in a batch-procedure.
Request A :
Make this same dialog available for the PNG format to do batch-processing with a common tr. color.
A complicating factor here will be the fact that option t2., the palette entry, is not always valid,
because one can also pick a transparent color in a 24BPP PNG, which doesn't have a palette file like a
256 color GIF.
So if this would be implemented, option t2. should be greyed out, if there are > 256 colors in the PNG.
Concerning the GIF-dialog as is :
If one wants to do a batch with the same tr. color, one has to start with something.
So the palette entry is chosen, but it still has the value of another session.
One is forced to find out, which palette number should be transparent in the first place, to edit that value.
First picking the color-pixel can be done with option t1. but it's only valid for a single event.
So Request B :
It would be nice if the value, chosen with the option t1. is transferred to the box of option t2.
Then the picked value can serve as a global value for the next item of the batch, and would be saved.
It isn't there, only the GIF-dialog has such an option.
(The GIF and PNG options are the same as in the single 'Save As' dialog)
So I investigated the GIF-dialog.
Two options :
t1. Choose transparent color during saving.
Then you'll get a small popup window with the image, and one has to click on some pixel to define the transparent one.
Before the final save is executed.
t2. Set transparency value to palette entry N (0 - 255)
Default = 0. If another value is entered, it will be saved for the next session
Saved in the INI-file together with the "t1. or t2." setting, in the [MultiGIF] group.
So this can be used in a batch-procedure.
Request A :
Make this same dialog available for the PNG format to do batch-processing with a common tr. color.
A complicating factor here will be the fact that option t2., the palette entry, is not always valid,
because one can also pick a transparent color in a 24BPP PNG, which doesn't have a palette file like a
256 color GIF.
So if this would be implemented, option t2. should be greyed out, if there are > 256 colors in the PNG.
Concerning the GIF-dialog as is :
If one wants to do a batch with the same tr. color, one has to start with something.
So the palette entry is chosen, but it still has the value of another session.
One is forced to find out, which palette number should be transparent in the first place, to edit that value.
First picking the color-pixel can be done with option t1. but it's only valid for a single event.
So Request B :
It would be nice if the value, chosen with the option t1. is transferred to the box of option t2.
Then the picked value can serve as a global value for the next item of the batch, and would be saved.
Comment