cnr-isti-vclab / PyMeshLab

The open source mesh processing python library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Export texture as JPG

PMDevine1 opened this issue · comments

I am generating a texture file from the vertex attribute transfer to texture filter, and it defaults to a png texture despite changing the texture name to a .jpg or .jpeg in the tool.

This problem actually also occurs in the GUI, but in the GUI I am able to export a .jpg by changing the extension in the mesh export dialog box. However, I can't find any way to do this in Pymeshlab.

It's not a huge deal, since I can just convert the png to jpg after the fact using other tools, but it's just an annoying step since you also have to change the .mtl, and it takes longer to write the initial png compared to the jpg. Writing the texture directly to .jpg from pymeshlab would be an improvement.

Thanks for all you do!