MaskedJPEG - Converter

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Mischa
Enthusiast
Enthusiast
Posts: 115
Joined: Fri Aug 15, 2003 7:43 pm

MaskedJPEG - Converter

Post by Mischa »

The problem might admits to be:

JPEG images are only conditionally useful.
Due to the change of the picture with
convert, points the background colour
often disturbances on (in particular in
Object boundary region), some clean
' Transparent' representation both
Images and with Sprites make impossible.
Thus one must use bitmaps or png.
Those are both, also latter method
not straight space-saving.

Now, this utility helps:
It processes any number
at bitmaps to JPEGs with (optional)
mask channel.

The compression quality of the JPEGs
is adjustable.

The final product is only one file.

In order to extract the pictures again
it requires only a small
Include file.

Thus it is possible ' Packages ' too
load and also too 'catch ' them.

Take a look at it.

http://www.thinkrelative.de/MaskedJPG.zip

(virus-examined like always)

Contain in the package:
Masked JPEG Packager.exe (the converter)
masked_jpeg_include.pb (the Include file for extract)
Example.pb (a small example)
picturepack.mjp (a example 'Package ')


regards,
Mischa
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

impressive :D
--Kale

Image
Fred
Administrator
Administrator
Posts: 18220
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Works perfectly here.. Elegant solution to have heavy compressed sprites..
Post Reply