pjw wrote:Ive now added QV/QuickView back to Knoware.no. Great(?) for viewing many
graphic file formats on SMSQ/E + GD2 capable systems. Preferably fast CPUs & large
screens, also ok for viewing typical QL -type and -sized graphics on Q68 (eg disp
mode 3) and better.
Note: This is not a finished product, neither design- nor implementation-wise!
Id like to hear back what you think: Ideas/good/bad/indifferent
Nice work Per. Handled all the files I threw at it just now. I take it the fact that both versions complain about the lack of Wolfgang's BMP extensions is that as hinted in the manual, it's a temporary measure until the final BMP routines are ready.
Will take me some time to get used to the 'alternative' (bottom right) resize. Although the crosshairs appear, resizing only seems to take place in the vertical plane? (Maybe I'm misunderstanding something here)
Would it be possible for the command line parser to assume "/F" if no command line switch is given? I have some programs which allow a viewer to be specified, but not a command line other than a simple filename.
Sizes of headerless screen files: the approach I took in some of my graphics offerings was to calculate the size for given 'standard' resolutions such as 512x256, 640x480, 800x600, 1024x768 etc in the various modes and form a list of the resolutions corresponding to given file sizes in a lookup table. Far from infallible of course, and you can't tell the difference between a 512x256 16-bit colour and a 1024x256 8-bit colour, but works for most standard screen sizes used. Where GV can't deduce the screen sizes, a small popup could ask the user to enter width, height, mode, or goes to the current "can't work it out" popup and bows out gracefully. (Dilwyn goes and hides before Per sends a Norwegian whaling fleet hunting for him for causing unnecessary work...

)
Table of file lengths for the most common resolutions in the various modes, also gives an idea of just how large mode 32 and 33 uncompressed graphics can be!
Code: Select all
RESOLUTION MODE BYTES
512x256 0/8 32,768
512x384 49,152
640x480 76,800
800x600 120,000
1024x768 196,608
512x256 16 131,072
512x384 196,608
640x480 307,200
800x600 480,000
1024x768 786,432
512x256 32/33 262,144
512x384 393,216
640x480 614,400
800x600 960,000
1024x768 1,572,864
Finally, for those who haven't tried GV, here's what it looks like. I suggest XorA should not look at the picture - it's the train which broke down during his trip up mount Snowdon a couple of years ago...
qv1.jpg