Branch: Tag:

2012-11-13

2012-11-13 16:15:59 by 0

Add support for native PSD files in Standards.IIM.

319:    break;    }    } while (1); +  } else if (marker == "8B") { +  // May be a native PSD file. It should start with "8BPS\0\1" to be valid. +  string marker2 = fd->read(4); +  if (marker2 == "PS\0\1") { +  photoshop_data = "8BPS\0\1" + fd->read(); +  }    } else {    //werror("unknown marker: %O neither JPEG nor Postscript\n", marker);    return ([]);