Skip to content

Commit

Permalink
Merge pull request pharo-project#16535 from pavel-krivanek/16534-JPEG…
Browse files Browse the repository at this point in the history
…ReadWriter-cannot-read-some-files-the-PluginBasedJPEGReadWriter-can

replace JPEGReadWriter by PluginBasedJPEGReadWriter and deprecate the…
  • Loading branch information
Ducasse authored Jun 13, 2024
2 parents c0bef0b + 93deee8 commit 94bee0c
Show file tree
Hide file tree
Showing 6 changed files with 228 additions and 1,381 deletions.
2 changes: 1 addition & 1 deletion src/BaselineOfMorphic/BaselineOfMorphic.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ BaselineOfMorphic >> postload: loader package: packageSpec [
#FreeTypeCache #FreeTypeSettings #FreeTypeSubPixelAntiAliasedGlyphRenderer
#FT2Constants #GIFReadWriter #GlobalIdentifier #HaloMorph
#CharacterScanner #ImageMorph #JPEGHuffmanTable #JPEGReadStream
#JPEGReadWriter #Locale #MczInstaller #MD5NonPrimitive
#Locale #MczInstaller #MD5NonPrimitive
#MenuItemMorph #MenuMorph #RxMatcher #RxParser #RxsPredicate
#SHA1 #ShortIntegerArray #SystemProgressMorph #SystemWindow
#TestCase #TextContainer #TextDiffBuilder #ThumbnailMorph
Expand Down
2 changes: 1 addition & 1 deletion src/Graphics-Files/Form.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ Form fromUser writeJPEGfileNamed: 'yourPatch.jpeg'
Form >> writeJPEGfileNamed: fileName progressive: aBoolean [
"Write a JPEG file to the given filename using default settings. Make it progressive or not, depending on the boolean argument"

PluginBasedJPEGReadWriter putForm: self quality: -1 "default" progressiveJPEG: aBoolean onFileNamed: fileName
JPEGReadWriter putForm: self quality: -1 "default" progressiveJPEG: aBoolean onFileNamed: fileName

"
Display writeJPEGfileNamed: 'display.jpeg' progressive: false.
Expand Down
Loading

0 comments on commit 94bee0c

Please sign in to comment.