Skip to content

FTP4DOS v1.2.0

Choose a tag to compare

@Projanglez Projanglez released this 30 Jul 21:54
· 56 commits to master since this release

Image viewing

F3 (or Enter) on a picture now shows it, full-screen in 320x200 with 256
colours on any VGA — no VESA BIOS or SVGA card needed. The format is taken from
the file's content, not its name.

Format Decoded
BMP 1/4/8/24/32 bpp; uncompressed, RLE8, RLE4
PCX RLE, 1/2/4/8 bpp
GIF 87a and 89a, interlaced; first frame of an animation
PNG greyscale, palette, RGB, RGBA, 1–16 bits

Pictures open fitted to the screen; the zoom level is shown in the top right
corner.

Key Action
+ / - Zoom: fit, 25, 50, 100, 200, 400, 800 %
* 1:1
f, Enter Fit to screen
Arrows Pan
PgUp / PgDn Pan a screen at a time
Home / End Top-left / bottom-right
Esc, q Close

Zooming is not a luxury here: a 720x400 screen capture fitted to 320x200 loses
three quarters of its pixels and the text in it stops being readable.

Palette images get their exact colours, loaded straight into the VGA DAC.
Truecolour is dithered to a fixed colour cube; PNG alpha is composited rather
than discarded.

Not decoded: JPEG, TIFF, interlaced PNG. These give a clear message rather
than a wrong picture.

Memory

A picture needs about 100 KB of free conventional memory — F1 now reports
how much you have. Pan and zoom additionally need XMS or EMS, because the
decoded picture is held there between redraws; without extended memory the
fitted view still works.

Verified on real 386 hardware.


FTP4DOS.EXE — 327,014 bytes
SHA-256 03f3021bc63254fdc1d4f84352d9a685af7bd68851d2a1264d25a3f9cd7f0d55

ftp4dos-mtcp-src-2025-01-10.zip is the unmodified mTCP source this binary
links against (official repository, release tag 2025-01-10, commit d68948f).
Together with this repository at tag v1.2.0 it is the complete corresponding
source (GPLv3 §6).