I'm trying to understand tv_SaveBrush and tv_LoadBrush commands: If I have a cutbrush with some transparent areas and I save it using tv_SaveBrush, then reload it using tv_LoadBrush, those transparent areas are converted into opaque pixels of the background color.
Question: How do I maintain transparency for a reloaded, single frame cutbrush? Is it a matter of syntax when saving??? or when loading??? or does it relate to the file format I choose to save it in? Is there some additional commands I use first to establish that I want to retain transparency when I save/reload the cutbrush?
I've used SaveBrushAnim to save a single frame cutbrush but I can't seem to reliably reload the single frame cutbrush without sometimes getting extra "junk" frames - stuff leftover from other, multiframe cutbrushes that I've previously used.
So, what commands? what syntax?
Thanks Sven
tv_SaveBrush and tv_LoadBrush with alpha masking
Re: tv_SaveBrush and tv_LoadBrush with alpha masking
It's a bug. It will be fixed on the new update.Svengali wrote:I'm trying to understand tv_SaveBrush and tv_LoadBrush commands: If I have a cutbrush with some transparent areas and I save it using tv_SaveBrush, then reload it using tv_LoadBrush, those transparent areas are converted into opaque pixels of the background color.
tv_loadbrushanim is bugged too, you can add the image start and image count after the file name but actually the load process stretch the animation to the original frame count.
Hervé ADAM, TVPaint Team
Re: tv_SaveBrush and tv_LoadBrush with alpha masking
Hervé
Thanks for the information and I look forward to the new update! It will help solve many problems for managing brushes.
Sven
Thanks for the information and I look forward to the new update! It will help solve many problems for managing brushes.
Sven
Re: tv_SaveBrush and tv_LoadBrush with alpha masking
9.5.4 update appears to fix the savebrush and loadbrush commands... thank you!
Still, the LoadBrushAnim command sometimes generates a file-not-found error which I can't quite understand...
Sven
Still, the LoadBrushAnim command sometimes generates a file-not-found error which I can't quite understand...
Sven
Re: tv_SaveBrush and tv_LoadBrush with alpha masking
if the path in the tv_loadbrushanim cmd is not valid, the cmd try to find the file in the several folder:Svengali wrote:9.5.4 update appears to fix the savebrush and loadbrush commands... thank you!
Still, the LoadBrushAnim command sometimes generates a file-not-found error which I can't quite understand...
Sven
running path, "installation path/data", current configuration dir, plugins dir, home dir, george dir, temp dir, ...
if the find is not found the cmd return an error ( -1 )
Hervé ADAM, TVPaint Team