Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Sunshow Pro V3.0 - <b>viewtif</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ViewTIF

Display a TIFF image virtually


Syntax

VIEWTIF [<Options>] <cFILENAME.TIF> <nLeft> <nTop> <nRight> 
   <nBottom> <nSWidth> <nSHeight>


Arguments

<Options>
/NOBLANK, /NOPALETTE, /NOPAUSE, /FORCEMODE, /NOZOOM, /ASPECT, 
/DEF256, /DEF240, /DEF16, /DEF2, /OPT16, /OPT240, /D
See "Appendix E" for a brief description of each display option and/or read 
the "Displaying Images" section of the chapter "Using Sunshow" for a 
discussion about how to use these options.

<cFILENAME.TIF>
Name of TIFF image file, and optional drive and path.

<nLeft>
Horizontal or "X" starting coordinate of the image. The left coordinate of 
the image window.

<nTop>
Vertical or "Y" starting coordinate of the image. The top coordinate of the 
image window.

<nRight>
Horizontal or "X" ending coordinate of the image. The right coordinate of 
the image window.

<nBottom>
Vertical or "Y" ending coordinate of the image. The bottom coordinate of 
the image window.

<nSWidth>
Screen width - horizontal resolution of video mode. The screen width of 
the video mode.

<nSHeight>
Screen height - vertical resolution of video mode. The screen height of 
the video mode.


Remarks

ViewTIF displays a TIFF images virtually on screen. This means the user 
can display sections of an image that is larger than the full screen, and 
pan and zoom in the image display.

Note:  If <nLeft>, <nTop>, <nRight>, <nBottom>, <nSWidth>, or <nSHeight> 
are omitted, they will be read and used from the TIFF file.

Note:  Pressing the ESC key breaks out of the  function immediately and 
returns error value -6.

ViewTIF can display enormous TIFF images limited only by the amount of 
conventional or EMS memory available. Multiply the screen width times the 
screen height to determine if image will fit in memory. For example, an 
image with size 2000 pixels x 2000 pixels = 4MB memory required to view the 
image.

See "Appendix F" for a list of the keystroke combinations used to pan and 
zoom when an image is displayed virtually.

The NOBLANK, NOPALETTE, FORCEMODE options are now implemented in all 
displayers. use of these display options with CLEARWIN may be highly useful 
in certain circumstances. Please refer to the section on CLEARWIN and the 
suggestions in the beginning of this section. Important information for the 
full use of these parameters, especially in document processing and other 
high resolution applications, is explained in detail in the beginning of 
this section.


Example

To view CHEETAH.TIF in video mode 19 (320x200) full screen:

VIEWTIF CHEETAH.TIF 0 0 319 199 320 200

To view ARCHIT.TIF in video mode 18 (640x480) in a window scaled to the 
top left quarter of the screen:

VIEWTIF ARCHIT.TIF 0 0 319 239 640 480



See Also: ShowTIF ViewGIF ViewPCX ViewTGA

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson