--- a/ImageReader.st Sat Feb 04 21:36:33 2017 +0100
+++ b/ImageReader.st Sun Feb 05 16:59:10 2017 +0100
@@ -1673,35 +1673,54 @@
!ImageReader class methodsFor:'image writing'!
save:anImage onFile:aFileName
- "save the image in my format on aFileName"
+ "save the image in my format on aFileName.
+ Returns the imageReader instance (bad name; is a writer).
+ May raise Image cannotRepresentImageSignal,
+ if the image cannot be represented in that format,
+ or it is not support"
^ (self basicNew) save:anImage onFile:aFileName
- "Modified: 10.4.1997 / 17:42:57 / cg"
+ "Modified: / 10-04-1997 / 17:42:57 / cg"
+ "Modified (comment): / 05-02-2017 / 16:58:30 / cg"
!
save:anImage onFile:aFileName quality:qualityPercent
"save the image in my format on aFileName.
- qualityPercent is ignored by all lossless formats.
- JPG does care for it."
+ The qualityPercent argument is ignored by all lossless formats.
+ (however, JPG does care for it.)
+ Returns the imageReader instance (bad name; is a writer).
+ May raise Image cannotRepresentImageSignal,
+ if the image cannot be represented in that format,
+ or it is not support"
^ (self basicNew) save:anImage onFile:aFileName quality:qualityPercent
- "Modified: 10.4.1997 / 17:42:57 / cg"
+ "Modified: / 10-04-1997 / 17:42:57 / cg"
+ "Modified (comment): / 05-02-2017 / 16:58:45 / cg"
!
save:anImage onStream:aStream
- "save the image in my format on a Stream"
+ "save the image in my format on aStream.
+ Returns the imageReader instance (bad name; is a writer).
+ May raise Image cannotRepresentImageSignal,
+ if the image cannot be represented in that format,
+ or it is not support"
^ (self basicNew) save:anImage onStream:aStream
- "Modified: 10.4.1997 / 17:42:57 / cg"
+ "Modified: / 10-04-1997 / 17:42:57 / cg"
+ "Modified (comment): / 05-02-2017 / 16:58:18 / cg"
!
save:anImage onStream:aStream quality:qualityPercent
"save the image in my format on a Stream.
- qualityPercent is ignored by all lossless formats.
- JPG does care for it."
+ The qualityPercent argument is ignored by all lossless formats.
+ (however, JPG does care for it.)
+ Returns the imageReader instance (bad name; is a writer).
+ May raise Image cannotRepresentImageSignal,
+ if the image cannot be represented in that format,
+ or it is not support"
^ (self basicNew) save:anImage onStream:aStream quality:qualityPercent
@@ -1711,6 +1730,8 @@
(Image fromFile:'../../goodies/bitmaps/gifImages/garfield.gif') saveOn:'garfield50.jpg' quality:50
(Image fromFile:'../../goodies/bitmaps/gifImages/garfield.gif') saveOn:'garfield100.jpg' quality:100
"
+
+ "Modified (comment): / 05-02-2017 / 16:58:11 / cg"
! !
!ImageReader class methodsFor:'testing'!