GIF Translator: Update default settings
* Palette is set to Optimal which preserves colors of original * Write transparent gifs is on which preserves transparency * Transparent auto is on which automatically detects the transparent color * default transparent color is 255, 255, 255 (aka white) if you select a manual transparent color which seems like a more sane default than black. This allows ShowImage and other programs to save transparent gifs without removing transparency and without reducing the colors.
This commit is contained in:
parent
66246a75a1
commit
5fa8801f36
@ -96,14 +96,14 @@ static const TranSetting sDefaultSettings[] = {
|
||||
{ B_TRANSLATOR_EXT_HEADER_ONLY, TRAN_SETTING_BOOL, false },
|
||||
{ B_TRANSLATOR_EXT_DATA_ONLY, TRAN_SETTING_BOOL, false },
|
||||
{ GIF_SETTING_INTERLACED, TRAN_SETTING_BOOL, false },
|
||||
{ GIF_SETTING_USE_TRANSPARENT, TRAN_SETTING_BOOL, false },
|
||||
{ GIF_SETTING_USE_TRANSPARENT_AUTO, TRAN_SETTING_BOOL, false },
|
||||
{ GIF_SETTING_USE_TRANSPARENT, TRAN_SETTING_BOOL, true },
|
||||
{ GIF_SETTING_USE_TRANSPARENT_AUTO, TRAN_SETTING_BOOL, true },
|
||||
{ GIF_SETTING_USE_DITHERING, TRAN_SETTING_BOOL, false },
|
||||
{ GIF_SETTING_PALETTE_MODE, TRAN_SETTING_INT32, 0 },
|
||||
{ GIF_SETTING_PALETTE_MODE, TRAN_SETTING_INT32, 3 },
|
||||
{ GIF_SETTING_PALETTE_SIZE, TRAN_SETTING_INT32, 8 },
|
||||
{ GIF_SETTING_TRANSPARENT_RED, TRAN_SETTING_INT32, 0 },
|
||||
{ GIF_SETTING_TRANSPARENT_GREEN, TRAN_SETTING_INT32, 0 },
|
||||
{ GIF_SETTING_TRANSPARENT_BLUE, TRAN_SETTING_INT32, 0 }
|
||||
{ GIF_SETTING_TRANSPARENT_RED, TRAN_SETTING_INT32, 255 },
|
||||
{ GIF_SETTING_TRANSPARENT_GREEN, TRAN_SETTING_INT32, 255 },
|
||||
{ GIF_SETTING_TRANSPARENT_BLUE, TRAN_SETTING_INT32, 255 }
|
||||
};
|
||||
|
||||
const uint32 kNumInputFormats = sizeof(sInputFormats)
|
||||
|
Loading…
Reference in New Issue
Block a user