hoby, my show(3) does display in fullscreen, and thus I wonder what more resizing it needs.
it will display all images the current display can handle.

jack, you would need to know what it does to say does it worky or not.
the field $[4] ("0" from open in front, thus actually file field 3) is the maximum of color depth in p3 and p2.
in P1 it is either 1 or 0. with check of if it is 0 I remove all the other checking needs.
if it's zero, the value is kept at 255 which is correct for P1.
if it's 1 (which it can be in P1) 255 is devided with it, which means that it still is 255.
thus, the code stands fully correct.
IIRC, that trick removed 1 stroke.
_________________________
!

download KiXnet