unlimitedbacon / stl-thumb

Thumbnail generator for STL files
MIT License
1.09k stars 93 forks source link

Output to window is rendering using different colors than output to file #72

Open mattpenner opened 1 year ago

mattpenner commented 1 year ago

I am running version 0.5.0 on Windows 10.

When I navigate to a folder with my STLs and enter the following command I get the following output in a window: "c:\Program Files\stl-thumb\stl-thumb.exe" -b FFFFFFFF -m 000000 111111 FFFFFF -x Core_Clamp_C_Primo.STL Core_Clamp_C_Primo.PNG

image

However, when I run the exact same command, but without the -x parameter, I get the following output in the PNG file: image

unlimitedbacon commented 10 months ago

I think this is because we are not converting between rgb and srgb properly.