On Tue, May 24, 2016 at 7:50 PM, Henrik Nergaard <[email protected]> wrote:
> Not sure where to report zinc bugs… fogzbugz? or is it a separate project? > > Any bug found in the standard image regardless of project should be > reported on fogbugz, no? > Ah, good point. > > > but this works just fine… > > If I do: > > > > *| imageStream |* > > > > *imageStream := (ZnEasy get: > 'http://orig13.deviantart.net/e8d3/f/2013/092/a/3/glados_s_activation_by_first9-d605rwi.jpg > <http://orig13.deviantart.net/e8d3/f/2013/092/a/3/glados_s_activation_by_first9-d605rwi.jpg>') > contents readStream.* > > > > *JPEGReadWriter formFromStream: imageStream.* > > > > It will give me an error “image format not recognized”. > > > > ImageReadWriter chooses to use PluginBasedJPEGReadWriter instead of > JPEGReadWriter (ImageReadWriter >>#readerClassFromStream: ). > > > > So perhaps #getJpeg: should use the PluginBasedJPEGReadWriter or have a > fallback on error trying once more by using ( > > *JPEGReadWriter formFromStream: theStream *) ? > What's the difference? Why do we have two clasees for reading JPEGs? Peter
