On 22 Apr 2018, at 16:55, Hilaire <hilaire@drgeo.eu> wrote:
For example when rewritting this methods, to read afterward PNG image I have error: image format no recognized.
getFile: aFilename " ^ FileStream readOnlyFileNamed: (self fullname: aFilename)" ^ (self fullname: aFilename) asFileReference binaryReadStream
Yes that is an open issue that I have not yet committed to pharo7 dev https://pharo.manuscript.com/f/cases/21611/Adapt-ImageReadWriter-hierarchy-t... but I got it fixed in some image somewhere, it just needs cleanup and packaging.
Le 22/04/2018 à 16:46, Hilaire a écrit :
A migration guide will be more than welcome, because the API, and likely the logic, is different.
Thanks
Hilaire
Le 21/04/2018 à 13:37, Sven Van Caekenberghe a écrit :
Yes, relatively recent, weeks I guess, maybe a month, at least since half March.
FileSystem (part of the image for ages), File and new streams (most also long part of the image) are the replacements.
BTW, I meant [Abstract]FileReference>>#fileIn which is a unary selector.
-- Dr. Geo http://drgeo.eu