Skip to content

Commit be340a8

Browse files
committed
up
1 parent 68e61f1 commit be340a8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,10 @@ The bored ape (tiles) in the composite image are in 50×50px. To get to 800×800
7373
``` ruby
7474
require 'pixelart'
7575

76-
apes = ImageComposite.read( "basicboredapes50x50.png", width: 50, height: 50 ) ## read in ape composite
76+
# step 1: read in all-in-one ape image composite
77+
apes = ImageComposite.read( "basicboredapes50x50.png", width: 50, height: 50 )
7778

79+
# step 2: loop over all apes and save one-by-one w/ 16x zoom
7880
apes.each_with_index do |ape,i|
7981
ape.zoom(16).save( "ape-#{i}.png")
8082
end

0 commit comments

Comments
 (0)