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

misc/unix/xiffview.tgz

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:IFF ILBM picture viewer for Linux/X
Author:R. Eberle
Type:misc/unix
Version:0.5
Architecture:
Date:2021-10-17
Distribution:Aminet
Download:misc/unix/xiffview.tgz - View contents
Readme:misc/unix/xiffview.readme
Downloads:707

Simple picture viewer for Linux/X, displays 2- to 256-color 
IFF ILBM pictures in a window on your X screen. (No special ILBM
features, no animations, no Hold-And-Modify (HAM), ...)

Usage:

    xiffview [options] filename

    Default mode/action (= no options given) is to display image.

    Options change program operation:

    -v           Show program version information, and exit. 
                 (Overrides any other action.)

    -c cmd       Command mode, no image display. Execute given 
                 command (cmd) string (see below), and exit.

    -o filename  For commands that create file output: sets filename 
                 to "filename". If no option -o is given, uses default 
                 filenames as set by command (see below). 

In default mode, hit key 'q', 'ESC', or close window to quit program. 
See below for more keyboard control.
In command mode, program terminates when done.

Default mode functions:
    
    Default mode is GUI-/Image-display, which means no -c (command mode, see
    below) has been found on the command line.

	Mouse control:

    Move pointer over image to display pixel coordinates.

    Move pointer over color palette cells to display color information
    on the status bar.

	Keyboard control:

    ESC or q      Quit - exit program
    h             Help - display program and usage information
    s             Image scaling - will cycle through 1x, 2x, 3x, 4x pixel size
    F1 to F8      Bitplane toggle - toggles display/usage of bitplane 0 to 7 
	              off/on (depending on image depth)
	F9            Bitplane enable all - enables display/usage of all bitplanes


Command mode (option -c):

When -c is found on the command line, the next argument is expected to be a 
command string for xiffview. No spaces are allowed in command strings. For 
command that create files, output filename may be set with option -o (see above).

    Commands:

    to-sprite:x,y,h,bm0,bm1,p1,p2,p3

        x         image x-coordinate of sprite, must be multiple of 8
        y         image y-coordinate of sprite
        h         height (number of lines) of sprite
        bm0       image bitplane nr. for 1st sprite bitplane (plane 0)
        bm1       image bitplane nr. for 2nd sprite bitplane (plane 1)
        p1,p2,p3  image pen/palette indices to grab sprite colors 1-3 from

        Will generate C code for an Amiga sprite, taken from image 
        bitplanes and color palette as indicated, and write it to file, 
        using output file name as given by option -o, or default file name 
        "sprite.c". (Sprite width is always 16 pixels.)
        
        Example:
        xiffview -c to-sprite:0,0,16,3,2,16,17,18 my_image.iff


- - - 

Binary included is compiled for x86_64 CPUs.
A 32-bit "true-color" X display might be required.

There are a couple of bugs/issues - if your picture isn't
displayed perfectly it might be xiffview's fault.

Source code is included, and should compile with little to
no modifications on your Linux system.

Folder contrib/ contains some additional files, e.g. a test
pattern image, and a generic makefile for the source code.

- - - 
v0.5 - added scaling, status bar, pixel coords, color information, 
       bitplane toggle, help, and ESC key
	 - ...and fixed a bad bug in sprite code generation ( sorry x-D )
v0.4 - added command mode, can generate C code for a sprite
     - displays color palette
     - new folder contrib/ with additional files 
       (thanks to S. Haubenthal for Makefile contribution!)
v0.3 - fixed a bug in IFF decompression
v0.2 - first public release
- - - 

xiffview is distributed under the terms of
AWeb Public License Version 1.0
A copy of the license is included (apl.txt).

Use at your own risk, no responsibility is taken.

- - - 

visit 
      http://amigaalive.de
      http://arosalive.de

support Amiga software development - click an ad!

:-)


Contents of misc/unix/xiffview.tgz
drwxrwxr-x rom/rom           0 2021-10-16 22:30 xiffview/
-rwxrwxr-x rom/rom       52056 2021-10-16 22:30 xiffview/xiffview
drwxrwxr-x rom/rom           0 2021-10-16 22:30 xiffview/src/
-rw-rw-r-- rom/rom        2728 2021-10-16 22:30 xiffview/src/ximage.c
-rw-rw-r-- rom/rom         998 2021-10-16 22:30 xiffview/src/app.h
-rw-rw-r-- rom/rom         423 2021-10-16 22:30 xiffview/src/gui.h
-rw-rw-r-- rom/rom         194 2021-10-16 22:30 xiffview/src/rgb.h
-rw-rw-r-- rom/rom         985 2021-10-16 22:30 xiffview/src/types.h
-rw-rw-r-- rom/rom         812 2021-10-16 22:30 xiffview/src/types.c
-rw-rw-r-- rom/rom        6538 2021-10-16 22:30 xiffview/src/main.c
-rw-rw-r-- rom/rom         713 2021-10-16 22:30 xiffview/src/iff_load_ilbm.h
-rw-rw-r-- rom/rom         178 2021-10-16 22:30 xiffview/src/bytereverse.h
-rw-rw-r-- rom/rom        4721 2021-10-16 22:30 xiffview/src/iffparse.h
-rw-rw-r-- rom/rom         237 2021-10-16 22:30 xiffview/src/debug_none.h
-rw-rw-r-- rom/rom        6696 2021-10-16 22:30 xiffview/src/cmd.c
-rw-rw-r-- rom/rom         445 2021-10-16 22:30 xiffview/src/ximage.h
-rw-rw-r-- rom/rom       16623 2021-10-16 22:30 xiffview/src/gui.c
-rw-rw-r-- rom/rom         287 2021-10-16 22:30 xiffview/src/cmd.h
-rw-rw-r-- rom/rom       11322 2021-10-16 22:30 xiffview/src/iff_load_ilbm.c
-rw-rw-r-- rom/rom         357 2021-10-16 22:30 xiffview/src/bytereverse.c
-rw-rw-r-- rom/rom         708 2021-10-16 22:30 xiffview/src/usermsg.c
-rw-rw-r-- rom/rom        8531 2021-10-16 22:30 xiffview/src/iffparse.c
-rw-rw-r-- rom/rom         314 2021-10-16 22:30 xiffview/src/rgb.c
-rw-rw-r-- rom/rom         239 2021-10-16 22:30 xiffview/src/usermsg.h
-rw-rw-r-- rom/rom        4103 2021-10-16 22:30 xiffview/xiffview.readme
drwxrwxr-x rom/rom           0 2021-09-29 13:20 xiffview/contrib/
-rw-rw-r-- rom/rom         378 2021-09-29 13:19 xiffview/contrib/contrib.README
drwxrwxr-x rom/rom           0 2021-09-29 13:19 xiffview/contrib/pics/
-rw-rw-r-- rom/rom        9370 2021-09-29 13:17 xiffview/contrib/pics/testpattern.iff
drwxrwxr-x rom/rom           0 2021-09-29 12:13 xiffview/contrib/s_haubenthal/
-rw-r--r-- rom/rom         717 2021-09-29 12:13 xiffview/contrib/s_haubenthal/Makefile
-rw-r--r-- rom/rom        3710 2021-10-16 22:30 xiffview/apl.txt
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>