HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/src/ruby-3.0.2/sample/trick2018/03-tompng/remarks.markdown
### Remarks

Bundle install
    this program depends on `gem chunky_png`

Run it with the following command:
    bundle exec ruby entry.rb trick.png
    bundle exec ruby entry.rb [other png file]

I confirmed the following implementations/platforms:

* ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin16]
* ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin16]

### Description

This program is a png image viewer.
The output is an asciiart of the given png file,
and it is also a source code of the png viewer itself.