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

gfx/ppaint/PPRX_Digitcoun.lha

Mirror:Random
Showing:generic
No screenshot available
Short:Digitcount script v. 1.0 for Personal Paint 7.+
Author:mattkane at freenet.hut.fi (Matti Niskanen)
Uploader:mattkane freenet hut fi (Matti Niskanen)
Type:gfx/ppaint
Architecture:generic
Distribution:Aminet and Aminet CD-ROM
Date:1998-05-04
Download:http://aminet.net/gfx/ppaint/PPRX_Digitcoun.lha - View contents
Readme:http://aminet.net/gfx/ppaint/PPRX_Digitcoun.readme
Downloads:2046
PROGRAMS USING THE FILES
  - Personal Paint from version 7.+

INSTALLATION
  - Copy digitcount.pprx to PPaint:Rexx
  and Personal Paint will find it in the next launch

DESCRIPTION

This script will load a GIF file and then with the user's help
counts the right widths of the digit characters. Finally it will
save the sizes to the annotation field of the selected GIF file.
I created this to make digit-creating easier for the Unix
"cgi-bin access counter program Copyright (C) 1995 George Burgyan"
http://www.webtools.org/counter/  gburgyan at webtools.org

The format of the annotation of the digit file seems to be
that the first value tells how many characters the file has.
The second value will tell the horizontal offset of the first
character. The third value is the offset for the second character
and so on.

4:0:10:20:30:40

This means that the file contains four characters.
The first one is between 0 and 9, the second one is between 10 and 19.
The last one is between 30 and 39, so that's why there must be
the ending offset.
The height of the characters depends on the height of the GIF file.

Somebody could enhance this script. There is no undo, for example.


Contents of gfx/ppaint/PPRX_Digitcoun.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[generic]                 2193    4961  44.2% -lh5- 391c May  1  1998 digitcount.pprx
[generic]                  721    1410  51.1% -lh5- f2ab May  1  1998 digitcount.readme
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         2 files    2914    6371  45.7%            May  4  1998

Aminet © 1992-2019 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>