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

gfx/misc/GetImageInfo.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Shows picture dimensions without datatypes
Author:Christian Effenberger (youcan at amclust.de)
Uploader:Christian Effenberger (youcan amclust de)
Type:gfx/misc
Version:1.0 (31-May-2001)
Requires:OS 2.x , CanDo Lib 3.00x
Architecture:m68k-amigaos
Kurz:gibt Bilddimensionen OHNE Datatypes aus
Origin:www.amclust.de/software/archive/
Date:2001-05-31
Download:http://aminet.net/gfx/misc/GetImageInfo.lha - View contents
Readme:http://aminet.net/gfx/misc/GetImageInfo.readme
Downloads:449

PURPOSE

    GetImageInfo 1.0 (31.05.2001), © 2001 by Christian Effenberger

    The archive contains a small program to determine picture
    dimensions without the use of datatypes (headers only).

    Since I am working a lot with images that were downloaded from
    Aminet or other internet sources, were made by myself or were
    generated by software, sometimes its useful to list image
    dimensions instead of showing them or using other image viewers
    with verbose output.

    Supported formats: BMP GIF IFF JPEG PBM PCX PNG PSD SUN TARGA TIFF

    If started from Workbench - a FileRequester is poping up, asking
    for an Image file and then showing all Informations in a Reqeuster.

    If it's used through command line, certain special %-codes are available.



INSTALL

   Simply unpack the archive to anywhere you want.
   I prefer to copy the executable to C:.



REQUIREMENTS

   - OS 2.x
   - CanDo Lib 3.00x
   - minimum of memory (cause GetImageInfo reads only the header)



USAGE

    GetImageInfo FILE/A[,STRING]

    If started from Workbench - a FileRequester is poping up, asking
    for an Image file and then showing all Informations in a Reqeuster.

    If it's used through command line, certain special %-codes are available:
    The option STRING allows you to define an own output string. The default
    format string is...

        "%n: %w x %h [%f]"

    The format types are:

        %n  name of the file (the filename without path)
        %p  full path including trailing '/' and ':'
            (even, when you didn't provided one)
        %r  relative path including trailing '/'
        %w  width of image
        %h  height of image
        %f  short format of image (i.e. JPEG)
        %e  expanded format of image (i.e. Joint Photografic Expert Group)
        %d  file date (DD-MMM-YYYY
        %s  file size (Bytes)
        %c  file comment

        %l  linefeed ($char 10)
        %t  tabulator ($char 9)

        use double " inside of STRING  (i.e. "%n ""string"" %f")



EXAMPLES

    GetImageInfo file.gif

      OUTPUT »  file.gif: 256 x 256 [GIF]


    GetImageInfo file.gif "<IMG SRC=""%n"" ALT=""%c"" WIDTH=%w HEIGHT=%h
BORDER=0>"

      OUTPUT »  <IMG SRC="file.gif" ALT="comment" WIDTH=256 HEIGHT=256
BORDER=0>


    GetImageInfo file.gif "Image: %n%lDimension: %w×%h%lFormat: %f (%e)%lSize:
%s Bytes%lDate: %d"

      OUTPUT »  Image: file.gif
                Dimension: 256×256
                Format: GIF (Graphics Interchange Format)
                Size: 16582 Bytes
                Date: 21-May-1999



NOTE

    Sometimes GetImageInfo coul't determine Photoshop JPEG's, cause Adobe uses
    properitary chunks (totally sensless to the Web) in front of the width and
    height including chunk. Load this images and save them again as JPEG to fix
    the problem.



AUTHOR

    Christian Effenberger
    Suedstraße 2
    41564 Kaarst
    G E R M A N Y

    0049-(0)2131-669392
    youcan at amclust.de


Contents of gfx/misc/GetImageInfo.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                11466   11920  96.2% -lh5- e973 May 31  2001 GetImageInfo
[generic]                 1036    1357  76.3% -lh5- 4503 May 31  2001 GetImageInfo.info
[generic]                 1545    3307  46.7% -lh5- b1b1 May 31  2001 GetImageInfo.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         3 files   14047   16584  84.7%            May 31  2001

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