Page 3 of 3
Re: WIN BMP TO BVLOAD CONVERTER
Posted: Thu Sep 14, 2023 9:12 pm
by ahenry3068
ALMOST GOT THE SLIDESHOW WORKING.
Current status. Toggle audio ON/OFF Works
Volume down: WORKS.
SELECT RANDOM OR SEQUENTIAL IMAGES....................WORKS.
Volume UP: NOT WORKING AND HAVE TO FIGURE IT OUT WHY ???
Re: WIN BMP TO BVLOAD CONVERTER
Posted: Thu Sep 14, 2023 11:12 pm
by ahenry3068
I am going to Post the code
Re: WIN BMP TO BVLOAD CONVERTER
Posted: Sun Sep 24, 2023 10:50 pm
by ahenry3068
Ok. Convert works. But its kind of slow even in warp. Just got through redoing it in QB64. Only tested in Linux so far
and uses some shell commands so Windows is going to take a little modification.
(After looking at it again I just think Shell "rm IN.BMP" needs changed to Shell "del IN.BMP")
This program takes any input image and converts it to a BVLOADABLE IMG.BIN and VPAL.BIN with one command.
ImageMagicK must be installed. This program doesn't do all the work by itself.
Its quite a bit quicker than the CBM Basic convert program.
img2Bvload IMAGEFILENAME.EXT
EDIT: STILL LEARNING THINGS ABOUT QB64
ADD THE FOLLOWING TO THE HEAD OF THE SOURCE FILE TO GET RID OF THE ANNOYING POP UP WINDOW. PRINT STATEMENTS NOW WILL JUST BE IN YOUR COMMAND WINDOW
Code: Select all
$CONSOLE
$SCREENHIDE
_SOURCE _CONSOLE
_DEST _CONSOLE
Written using the QB64 compiler.
SOURCE
Linux 64 bit executable (wrapped in a zip file, forum won't let me upload raw)
Windows executable and source together.
NOTE: For windows the convert command conflicts with the NTFS file system convert command.
so the magick command is used instead. Also. Must download a version of Imagemagick that does
8 bits per color channel the 16 bit per color channel version was not outputting a usable file for my algorithm, though it appeared valid otherwise.
Short CBM Basic program to load and observe the resulting files.
Link to Imagemagick Windows version thats working for me:
https://imagemagick.org/archive/binarie ... static.exe
Re: WIN BMP TO BVLOAD CONVERTER
Posted: Mon Sep 25, 2023 1:54 am
by Accordster
Thank you for providing this.
Re: WIN BMP TO BVLOAD CONVERTER
Posted: Mon Sep 25, 2023 6:33 pm
by ahenry3068
It was my pleasure and also Educational
Re: WIN BMP TO BVLOAD CONVERTER
Posted: Tue Sep 26, 2023 4:14 pm
by ahenry3068
Having more difficulty than expected with the Windows Port. The convert command conflicts with the file system convert command that exists under Windows. And the Magick command isn't outputting the correct size IN.BMP (which should be 77.9 kb exactly). Not giving up though.......... Even though Linux is my OS I know a lot of us here use Windows
IMAGEMAGICK Link wasn't working. FIXED
Posted: Mon Oct 09, 2023 9:22 am
by ahenry3068
Fixed the ImageMagick Link above.
and including it here also. (This is the Windows version)
(If your a linux user your probably better off using whatever version is in your distribution)
https://imagemagick.org/archive/binarie ... static.exe
IMG2BVLOAD NEW FEATURES.
Posted: Tue Oct 10, 2023 12:32 am
by ahenry3068
I'm doing some pretty active development on this still. I don't plan many intermediate release, but when I do release a new version here are some features I'm planning, some of them are already implemented in private code I'm using for myself.
Keep original aspect ratio. And Pad file for proper loading.
(currently the code just forces 320x240 regardless of aspect ratio).
Batch conversion of files with naming conventions.
Probably the hardest feature because I'm still pretty raw with Image Magick. Take a series of Images and force them to use identical palette colors so only 1 palette load needs to be done for sequential display. ( Not optimal for Image display but extremely necessary for effective animation)....
FEATURE REQUESTS: ..... Don't be shy. if you think another feature would be useful, answer on this thread or PM me. I guarantee I'll at least read the request
....
Moved to DEVTOOLS
Posted: Mon Oct 16, 2023 8:41 am
by ahenry3068