How to chenge the background color when exporting PNGs.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to chenge the background color when exporting PNGs.

loskiorama
I'm using the command line export to PNG option.
and I'd like the background color to be white on the exported images insted of the yelowwish that comes by default.

How could I do this?

Best!
Reply | Threaded
Open this post in threaded view
|

Re: How to chenge the background color when exporting PNGs.

kintel
Administrator
On May 21, 2015, at 10:58 AM, loskiorama <[hidden email]> wrote:

> I'm using the command line export to PNG option.
> and I'd like the background color to be white on the exported images insted
> of the yelowwish that comes by default.
>
> How could I do this?
>
It’s possible to specify which color scheme to use on the cmd-line, e.g: openscad —colorscheme=Metallic
It’s also possible to add new color schemes, but this currently has to be done manually by adding JSON files to the color-schemes folder in your OpenSCAD installation.

Adding a cmd-line option to override the background color could be interesting though.

 -Marius


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: How to chenge the background color when exporting PNGs.

Miro Hrončok
> Adding a cmd-line option to override the background color could be interesting though.

Best thing would be to be able to export with transparent background.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: How to chenge the background color when exporting PNGs.

kintel
Administrator
On May 25, 2015, at 17:12 PM, Miro Hrončok <[hidden email]> wrote:

>> Adding a cmd-line option to override the background color could be interesting though.
>
> Best thing would be to be able to export with transparent background.
>
Yep, such an option should be able to take an alpha parameter

 -Marius


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org