SuperIlu recently released DosView 1.6. This is an image viewer and
converter that supports a bunch of file formats (see below for
supported image formats). MIT license, with libraries under other open
source licenses.

https://github.com/SuperIlu/DosView

Short version:

We have bmp2png in FreeDOS 1.4 RC1, but DosView reads more than just
BMP, and writes more than just PNG. I think DosView should replace
bmp2png in FreeDOS 1.4 RC2.


Long version: (more detail)

I've been testing DosView and bmp2png all afternoon. I've used a
collection of PNG, JPG, WEBP, GIF, BMP, and PCX images with DosView,
and DosView has been able to view almost every one (one BMP was over
2MB in size, so I think I overloaded it .. and one JPG file has an
embedded xRGB color profile that I think caused DosView to abort). All
of the other BMP files I used were fine.

For every image I could view in DosView, I also used DosView to
convert that image to another image file format (like GIF to PNG, or
PNG to JPG, or BMP to PNG). The converted images were all fine, and I
could view them in DosView, and I could view them later from my Linux
desktop (tested using Chrome browser, Gimp image editor, and Ristretto
image viewer).

DosView is just as capable of converting BMP to PNG, and can do a lot
more. I think we should remove bmp2png in FreeDOS 1.4 RC2, and add
DosView. This also will provide an image viewer, which FreeDOS
currently lacks.

__

DosView reads these 16 file formats: (copied from the readme)

- BMP
- PCX
- TGA
- LBM
- QOI
- JPG
- PNG
- WEBP (using the `.WEB` file extension)
- TIFF (using the `.TIF` file extension): only first image
- JPEG 2000 (using the `.JP2` file extension)
- PBM PPM
- RAS
- GIF: only first image
- PSD: composited view only, no extra channels, 8/16 bit-per-channel
- HDR: radiance rgbE format
- PIC: Softimage PIC, untested

..and can write to these 12 image formats:

- BMP
- PCX
- TGA
- QOI
- JPG: quality can be controlled with `-q`.
- PNG
- WEBP (using the `.WEB` file extension): always lossy, quality can be
controlled with `-q`.
- TIFF (using the `.TIF` file extension), LZW compression only
- JPEG 2000 (using the `.JP2` file extension)
- PBM
- RAS
- GIF: uses dithering which is extremly slow


_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to