Skip to content

Commit e0976f6

Browse files
committed
README oops
1 parent c53cb6e commit e0976f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ im = im.lin(1.5, 0)
199199
# is called, and then will only decompress the section being processed.
200200
# You will need to have all of the compressed data in memory at once though.
201201

202-
writer = JPEGWriter.new(im, :compression => 2, :interlace => false)
202+
writer = PNGWriter.new(im, :compression => 2, :interlace => false)
203203
png_data = writer.to_memory
204204
IO.write('out.png', png_data)
205205

0 commit comments

Comments
 (0)