QL Screen View online
-
- RWAP Master
- Posts: 2892
- Joined: Sun Nov 28, 2010 4:51 pm
- Location: Stone, United Kingdom
- Contact:
Re: QL Screen View online
Excellent work and easy to use - thank you Javier.
Rich Mellor
RWAP Software
RWAP Adventures
SellMyRetro
Retro-Printer Module - add a USB printer to your QL
Also Involved in:
Icephorm
RWAP Software
RWAP Adventures
SellMyRetro
Retro-Printer Module - add a USB printer to your QL
Also Involved in:
Icephorm
Re: QL Screen View online
It's a good idea. I think I could put a switch to toggle between mode 4 and mode 8 before and even after loading the image. But that's going to take me time. I save it under things to do.desin wrote: Tue Feb 06, 2024 8:51 am can you implement some kind of preview so
we can see if the QL screen is mode 4 or mode 8
Re: QL Screen View online
In one of my early QL softwares, I had a routine which attempted to guess if a screen was mode 4 or mode 8. It did that by looking at the flash bits. If none or very few flash bits were set it would most likely be mode 8.badaman wrote: Tue Feb 06, 2024 12:51 pmIt's a good idea. I think I could put a switch to toggle between mode 4 and mode 8 before and even after loading the image. But that's going to take me time. I save it under things to do.desin wrote: Tue Feb 06, 2024 8:51 am can you implement some kind of preview so
we can see if the QL screen is mode 4 or mode 8
In mode 4, the 'flash' bits within the colour word would be green pixel bits, so unless there was no green at all in the mode 4 screen, it was a pretty accurate (though not infallible!) way of checking mode, in fact the only half-way reliable mode I could come up with at the time.
--
All things QL - https://dilwyn.theqlforum.com
All things QL - https://dilwyn.theqlforum.com
Re: QL Screen View online
I had not thought about it, and it seems like a good idea that can also be combined with the previous one in case the image is not displayed in the appropriate mode. Thank you very much for the contribution!dilwyn wrote: Tue Feb 06, 2024 1:46 pmIn one of my early QL softwares, I had a routine which attempted to guess if a screen was mode 4 or mode 8. It did that by looking at the flash bits. If none or very few flash bits were set it would most likely be mode 8.badaman wrote: Tue Feb 06, 2024 12:51 pmIt's a good idea. I think I could put a switch to toggle between mode 4 and mode 8 before and even after loading the image. But that's going to take me time. I save it under things to do.desin wrote: Tue Feb 06, 2024 8:51 am can you implement some kind of preview so
we can see if the QL screen is mode 4 or mode 8
In mode 4, the 'flash' bits within the colour word would be green pixel bits, so unless there was no green at all in the mode 4 screen, it was a pretty accurate (though not infallible!) way of checking mode, in fact the only half-way reliable mode I could come up with at the time.
Re: QL Screen View online
Added new features:
- Unified both HTML into one.
- The swich button changes the display mode of the loaded image.
- Unified both HTML into one.
- The swich button changes the display mode of the loaded image.
Re: QL Screen View online
Thanks to your idea, I have added this new functionality.dilwyn wrote: Tue Feb 06, 2024 1:46 pm In one of my early QL softwares, I had a routine which attempted to guess if a screen was mode 4 or mode 8. It did that by looking at the flash bits. If none or very few flash bits were set it would most likely be mode 8.
In mode 4, the 'flash' bits within the colour word would be green pixel bits, so unless there was no green at all in the mode 4 screen, it was a pretty accurate (though not infallible!) way of checking mode, in fact the only half-way reliable mode I could come up with at the time.
Now, when loading the image, it is displayed in the correct mode based on the flash bit. If there is no active flash bit, then it is a mode 8 image. If there is, it will be a mode 4 image.
If the original image had any active flash bits then it will not work correctly, but it is always possible to change the mode manually with the mode button.
Regards
Re: QL Screen View online
Excellent, Javier.badaman wrote: Thu Feb 08, 2024 12:41 pm Thanks to your idea, I have added this new functionality.
Now, when loading the image, it is displayed in the correct mode based on the flash bit. If there is no active flash bit, then it is a mode 8 image. If there is, it will be a mode 4 image.
If the original image had any active flash bits then it will not work correctly, but it is always possible to change the mode manually with the mode button.
Regards
I'm glad to have been able to help with ideas for developing the utility.
--
All things QL - https://dilwyn.theqlforum.com
All things QL - https://dilwyn.theqlforum.com
-
- ROM Dongle
- Posts: 13
- Joined: Sat Apr 27, 2019 9:10 am
Re: QL Screen View online
Excellent Javier, what a great program, I have fun photos that I take with the Dadither tool 

Re: QL Screen View online
You are to blame for this application existing. You gave me a reason. XDMiguel angel rojo wrote: Sat Feb 10, 2024 1:25 am Excellent Javier, what a great program, I have fun photos that I take with the Dadither tool![]()
I take this opportunity to say the following: I have changed the version numbering, and it is now available, as the last version, 1.0.
I want to remind you that the index.html file is the only one needed for the application to work, and that it can be downloaded and works locally without CORS errors.