[squeak-dev] quick handling of graphics files

Ross Boylan ross at biostat.ucsf.edu
Wed Apr 14 16:01:14 UTC 2010


On Wed, 2010-04-14 at 20:45 +0530, K. K. Subramaniam wrote:
> On Wednesday 14 April 2010 07:07:58 am Ross Boylan wrote:
> > One file took over a minute to open when I selected "open graphic in
> > window" from the file browser.  (ImageReadWriter formFromFileNamed:
> > 'myfile.png') asMorph openInHand had about the same speed.
> That is way too long. I am able to open 300k+ scans of A4 sheets in a couple 
> of seconds with Squeak 3.11 on Kubuntu 9.10.
> 
> What is special about this file?
> 
> Subbu
I don't know, but here's some more info:
$ identify -verbose UBH20100319.png
Image: UBH20100319.png
  Format: PNG (Portable Network Graphics)
  Class: PseudoClass
  Geometry: 3360x4376+0+0
  Type: Bilevel
  Endianess: Undefined
  Colorspace: Gray
  Depth: 1-bit
  Channel depth:
    Gray: 1-bit
  Channel statistics:
    Gray:
      Min: 0 (0)
      Max: 1 (1)
      Mean: 0.914863 (0.914863)
      Standard deviation: 0.279085 (0.279085)
  Histogram:
  13451567: (255,255,255) #FFFFFF white
   1251793: (  0,  0,  0) #000000 black
  Colormap: 2
         0: (  0,  0,  0) #000000 black
         1: (255,255,255) #FFFFFF white
  Rendering intent: Undefined
  Resolution: 157.48x157.48
  Units: PixelsPerCentimeter
  Filesize: 141kb
  Interlace: None
  Background color: white
  Border color: rgb(223,223,223)
  Matte color: grey74
  Transparent color: black
  Page geometry: 3360x4376+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: Zip
  Orientation: Undefined
  Signature:
7aaf627fa1f5d1bae47c533ea395d610f975370e1c842764890d2c1115210f80
  Tainted: False
  User time: 0.550u
  Elapsed time: 0:03
  Pixels per second: 7.01111mb
  Version: ImageMagick 6.3.7 08/07/09 Q16 http://www.imagemagick.org





More information about the Squeak-dev mailing list