Search found 3 matches

by travnick
Fri Sep 27, 2013 9:13 am
Forum: Python
Topic: save jpg image as tiff in addon not working
Replies: 4
Views: 6736

It works actually but modifying the original image is a bad thing in my point of view so I'll try your solution with renderer.

Here is the working code: https://github.com/travnick/CryBlend/bl ... ter.py#L70
by travnick
Thu Sep 26, 2013 5:19 pm
Forum: Python
Topic: save jpg image as tiff in addon not working
Replies: 4
Views: 6736

Quite good idea to use a render image.

I'm doing it now with manipulating original image:
1. change format
2. set raw_filepath
3. save
4. restore originals.
by travnick
Thu Sep 12, 2013 11:48 am
Forum: Python
Topic: save jpg image as tiff in addon not working
Replies: 4
Views: 6736

save jpg image as tiff in addon not working

HIi I'm developing blender exporter for CryEngine - CryBlend . I need to convert an image to tiff, and then pass it to cryengine resource compiled. The thing is while saving image with blender python console, then it works: image2 = bpy.data.images[1].copy() image2.filepath_raw = 'new_path.tif' imag...