Search Unity

Export texture to Tiff

Discussion in 'Scripting' started by corrivai, Oct 3, 2017.

  1. corrivai

    corrivai

    Joined:
    Mar 14, 2016
    Posts:
    12
    Hi, can I save an image in TIFF format?
     
  2. jvo3dc

    jvo3dc

    Joined:
    Oct 11, 2013
    Posts:
    1,520
    No, just JPG and PNG as far as I know. If you don't require compression, the TIFF file format is not that difficult though. (As with all image formats really.) So you could convert the image to a TIFF byte array and then save that.
    https://en.wikipedia.org/wiki/TIFF
    (Ok, looks more complicated than it is. That document is for reading any TIFF. For writing a specific TIFF format, it becomes a lot simpler.)