Code: Select all
tv_savemode "gif" "local" "nodither" "32"
Is this a bug or am I doing it wrong?
Best,
Code: Select all
tv_savemode "gif" "local" "nodither" "32"
Hi, if it's a bug then it's been here for a whileNathanOtano wrote: ↑07 Sep 2021, 17:35 Hey I'm trying to use the commandProblem is that even if I specify a savemode in my script, it does'nt export following my parameters. I indeed get a gif, but I can't change the "local" "dither" and "number of colors" unless i first do an export by handCode: Select all
tv_savemode "gif" "local" "nodither" "32"
Is this a bug or am I doing it wrong?
Best,
Nathan, I tried the same command as you.NathanOtano wrote: ↑09 Sep 2021, 13:41 I tried both solutions above and, even if my seconde "tv_savemode" returns the right settings, my gif is still exported the same way no matter how I set the first tv_savemode. It seems it has no influence on my export whatsoever, it's with the same color and size
Thanks Xavier,Xavier wrote: ↑14 Sep 2021, 10:48 Ah, I get it : when you open the export panel it restores its parameters from the preferences, or the default settings if no preferences were saved.
So there's no point checking the result of a George function using the export panel !
Tv_savemode works together with the other tv_save* functions. For instance, if you call tv_saveimage "/my/picture" after your call to tv_savemode, it will create /my/picture.gif.
Also note that although there's no error in your parameters, the GIF format has its own limitations : https://en.wikipedia.org/wiki/GIF
For instance, it can only have 256 colors, so 8 bits at most.
Xavier,Xavier wrote: ↑14 Sep 2021, 10:48 Ah, I get it : when you open the export panel it restores its parameters from the preferences, or the default settings if no preferences were saved.
So there's no point checking the result of a George function using the export panel !
Tv_savemode works together with the other tv_save* functions. For instance, if you call tv_saveimage "/my/picture" after your call to tv_savemode, it will create /my/picture.gif.
Also note that although there's no error in your parameters, the GIF format has its own limitations : https://en.wikipedia.org/wiki/GIF
For instance, it can only have 256 colors, so 8 bits at most.
Xavier wrote: ↑15 Sep 2021, 10:43 This need to be discussed with the team...
Actually it's an improvement to the Export Panel that was done with the recent releases : the export parameters are properly saved in the preferences and restored. This is all for a better user experience.
My opinion is that if you use George to configure the settings, you should also use George to save your project.
Thanks for your help Thierry. Im not sure I understood correctly however?Xavier wrote: ↑14 Sep 2021, 10:48 Ah, I get it : when you open the export panel it restores its parameters from the preferences, or the default settings if no preferences were saved.
So there's no point checking the result of a George function using the export panel !
Tv_savemode works together with the other tv_save* functions. For instance, if you call tv_saveimage "/my/picture" after your call to tv_savemode, it will create /my/picture.gif.
Also note that although there's no error in your parameters, the GIF format has its own limitations : https://en.wikipedia.org/wiki/GIF
For instance, it can only have 256 colors, so 8 bits at most.