Tk Source Code

Ticket Change Details
Login
Overview

Artifact ID: c24eaa9063cec3deefc6fce42fea81ae67f1c319
Ticket: 1632447fffffffffffffffffffffffffffffffff
bad PPM maxval
User & Date: dkf 2013-11-03 11:01:57
Changes

  1. icomment:
    The <a href="http://netpbm.sourceforge.net/doc/ppm.html">format definition for P6</a> states that  <i>maxval</i> can be up to 65535, with <i>maxval</i>s &gt; 255 indicating that 2 bytes per channel per pixel are to be used (instead of 1).<p>We should fix (though we will lose information; Tk uses strictly 32 bits per pixel, with 8 for each of R, G, B, and alpha). Priority not very high as this is a fairly rare format variation (and we'll never write it from photo images), but the changes should at least be quite localised to just the PPM format handler.
    
  2. login: "dkf"
  3. mimetype: "text/html"
  4. priority changed to: "6"
  5. username: "dkf"