AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/misc/shapng-amigaos3.lha

Mirror:Random
Showing: ppc-morphos icongeneric icon
No screenshot available
Short:shapng - sha256 of file to PNG-image
Author:"Rupert Hausberger" natmeg at gmx.net
Uploader:Rupert Hausberger <natmeg gmx net>
Type:util/misc
Version:1.1
Architecture:m68k-amigaos
Date:2012-03-07
Download:util/misc/shapng-amigaos3.lha - View contents
Readme:util/misc/shapng-amigaos3.readme
Downloads:604

Description
===========
  "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.

Requirements
============
  - AmigaOS 3.x

Installation
============
  Copy the executable to C:

Usage
=====
  "shapng" does only work from a shell.

  Arguments
  ---------
  NAME/A,TO,S=SIZE/N,FG=FORGROUND/N,BG=BACKGROUND/N,PS=PRINTSUM/S

  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)

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

Author
======
  ©2005-2012 Rupert Hausberger <natmeg@gmx.net>
  http://natmeg.mooo.com/

License
=======
  GPL. Please refer to the file COPYING for details.

History
=======
  Please refer to the file ChangeLog for details.



Contents of util/misc/shapng-amigaos3.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1360    1694  80.3% -lh5- 9fbc Mar  1 01:13 shapng.info
[generic]               111310  233248  47.7% -lh5- 9b70 Mar  1 21:02 shapng/C/shapng
[generic]                 1360    1694  80.3% -lh5- 9fbc Mar  1 01:13 shapng/Docs.info
[generic]                  106     150  70.7% -lh5- a22b Mar  1 01:43 shapng/Docs/ChangeLog
[generic]                 2852    6138  46.5% -lh5- 076f Mar  1 01:13 shapng/Docs/ChangeLog.info
[generic]                 6996   18092  38.7% -lh5- a33a Mar  1 01:13 shapng/Docs/COPYING
[generic]                 2854    6138  46.5% -lh5- dec1 Mar  1 01:13 shapng/Docs/COPYING.info
[generic]                  985    2222  44.3% -lh5- 6c7b Mar  1 01:13 shapng/Docs/shapng.readme
[generic]                 2856    6138  46.5% -lh5- 3f67 Mar  1 01:13 shapng/Docs/shapng.readme.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         9 files  130679  275514  47.4%            Mar  6 21:17
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>