Ticket Change Details
Overview

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

  1. Appended to comment:

    rkeene added on 2010-10-13 15:52:42:
    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.

    % 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