Older Version
Newer Version
Alyce
Oct 27, 2011
- "Reverted to Jan 16, 2011 10:43 am: Reverted to remove vandalism."
Alyce
Oct 27, 2011
- "Reverted to Jan 16, 2011 10:43 am: Reverted to remove vandalism."
Image loading and saving in jpeg format, is achievable in Liberty BASIC using
a freely available dll.
jpgdll.dll can be downloded free from here
Save the dll, the bitmap linked further down the page and the source code in a common folder.
The first example below, saves natively drawn graphics to a jpg file.
Functions included in the dll are listed below in VB format but are easy to translate
to Liberty BASIC format
Below are examples of some of the functions translated to LB format, showing what can be
achieved using jpgdll.dll
A 400x300 bitmap file 11.bmp is included for convenience but you can use any bmp file of your own. The demo will only show asection of the bitmap if it is larger than the window.