Ticket Change Details
Overview

Artifact ID: ed7db63c32a2598518ed58fba8ade60246f22baf
Ticket: 0990f53b1a77cacafccaf440d277edeae0cab70a
PNG files in Metakit4 VFSes fail to be read correctly
User & Date: rkeene on 2010-10-13 15:52:42
Changes

  1. Appended to comment:
    
    
    <hr /><i>rkeene added on 2010-10-13 15:52:42:</i><br />
    Oh, wait I did "-encoding binary" in my second test where it should have been "-translation binary".
    
    Using "-translation binary" causes it to be read correctly.
    
    <verbatim>
    % set fd [open cross.png r]
    mk7
    % fconfigure $fd -translation binary         
    % set data [read $fd]; puts [string length $data]
    655
    % binary scan $data H* data_hex
    1
    </verbatim>