OS4 DepotLogo by McFly 
(anonymous IP:,0) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (600)
   o Document (22)
   o Driver (97)
   o Emulation (148)
   o Game (1005)
   o Graphics (499)
   o Library (116)
   o Network (233)
   o Office (66)
   o Utility (927)
   o Video (69)

Total files: 4379

Full index file
Recent index file



Support the site

 Readme for:  Utility » Misc » shapng.lha


Description: sha256 of file to PNG-image
Download: shapng.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 166kb
Version: 1.1
Date: 17 Mar 12
Author: Rupert Hausberger <natmeg@gmx.net> , aos4 port by kas1e
Submitter: kas1e
Email: kas1e/yandex ru
Homepage: http://natmeg.mooo.com
Requirements: mui, info.datatype
Category: utility/misc
Replaces: utility/misc/sha256ht.lha
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 6979
Comments: 1
Snapshots: 0
Videos: 0
Downloads: 16  (Current version)
16  (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
  "shapng" is a tool to convert a sha256-sum, gained from a string or file,
  into a 16x16 png-image. This image can be read visualy by mobile phones
  or other robots.

  How does it work
  First, a sha256-sum is generated from the input. Then, this sum is converted
  into a array of 256 bits and converted more into a 16x16 bit-box. The first
  bit is assigned to the top-left and the last to the right-bottom.

  It it READ horizontaly, from left to right and line by line.

  - AmigaOS 4.x

  Copy the executable to C:

  "shapng" does only work from a shell.


  NAME/A          - Filename or string for input.
                    If the string is a filename, it is handled as file,
                    else as string. (Mandatory)

  TO              - Output file.
                    If blank, "PROGDIR:<NAME/A>.sha.png" is created. (Optional)

  S=SIZE/N        - Size of the blocks in gfx.
                    Defaults to 4. (Optional)

  FG=FORGROUND/N  - Forground color as hex-number in the format 0x<RR><GG><BB>.
                    Defaults to 0x000000. (Optional)

  BG=BACKGROUND/N - Background color as hex-number in the format 0x<RR><GG><BB>.
                    Defaults to 0xffffff. (Optional)

  PS=PRINTSUM/S   - Also print the sha-sum to stdout.
                    Defaults to false. (Optional)

  shapng "Hello World" ram:icon.png"   - creates "ram:icon.png" from the string.
  shapng shapng.readme                 - creates "shapng.readme.sha.png" in
  shapng shapng.readme SIZE 10         - increase gfx-blocksize to 10.

  ©2005-2012 Rupert Hausberger <natmeg()gmx.net>

  GPL. Please refer to the file COPYING for details.

  Please refer to the file ChangeLog for details.

Copyright (c) 2004-2024 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment