[Coco] ViewGif and VirwVef Issues.

coco at jechar.ca coco at jechar.ca
Sat Jun 16 19:30:14 EDT 2018


  Hi again Two issues with ViewGif.

  One It only displays Gif87's and most
  Gif's are GIF89's these days.

  This is a routine that solves that problem by
  tricking the viewgif routine to take the gif89
  as a gif87.

PROCEDURE c287
DIM rep:STRING
DIM gfile:STRING
DIM gid:STRING[6]
DIM ogid:STRING[6]
DIM gfp:BYTE
DIM al:INTEGER
PARAM a:STRING
10 ON ERROR GOTO 1000
20 IF a="-?" THEN
   1000  REM
PRINT "File Name of GIF89 File without extension Required."
   END
ENDIF
al=LEN(a)
IF al>21 THEN
    PRINT "File Name Exceeds Maximum Supported Length."
    END
ENDIF
gfile=a+"87.gif"
SHELL "shell x copy "+a+".gif "+gfile
OPEN #gfp, gfile:UPDATE
GET  #gfp,gid
ogid=gid
gid="GIF87a"
SEEK #gfp,0
PUT  #gfp,gid
CLOSE #gfp
PRINT ogid+" Converted to "+gid+"."
END


   Second Problem when a picture is being displayed with flicker one 
cannot use CLEAR to access a different window, it seems to me that older 
versions of OS9 allowed this so perhaps this is a bug in Nitro.

What would be Ideal would be if viewgif were rewriten to allow a pause 
with clear and even better if support for Gif89 & slide shows were added 
6309 optimization might help the speed considerably I would think.

  Problem 2 applys to viewvef as well.

Charlie


More information about the Coco mailing list