home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1659 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.5 KB

  1. Path: ldvgpi26.eikon.e-technik.tu-muenchen.de!flowerp
  2. From: flowerp@ldvgpi26.eikon.e-technik.tu-muenchen.de (CHRISTIAN BUCHNER )
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: VISAGE: Make it PIPE-Friendly!
  5. Date: 22 Jan 1996 15:33:32 GMT
  6. Organization: EIKON Elektrotechnik TU Muenchen
  7. Distribution: world
  8. Message-ID: <4e0aoc$oe2@sparcserver.lrz-muenchen.de>
  9. NNTP-Posting-Host: ldvgpi26.eikon.e-technik.tu-muenchen.de
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Hello programmers (especially Mr. Holmgren!)
  13.  
  14. I am desperately looking for a PIPE-friendly graphic viewer. It is 
  15. supposed to show GIF, JPGs etc. from a single, linear data stream.
  16.  
  17. What is this needed for?
  18.  
  19. IBrowse allows the user to specify graphic viewers and sound players that 
  20. show and play the images/sounds while downloading them. (That is true 
  21. Netscape-Feeling!). The PIPE device is used for data transfer.
  22.  
  23. It is recommended to install the HWGQueue-Handler from aminet (util/sys), as
  24. the Commodore queue-handler has several bugs that may lead to data loss.
  25.  
  26. The most important things to make your graphic-viewer PIPE-friendly:
  27. --------------------------------------------------------------------
  28.  
  29. 1) Open the stream only ONCE. Only close it after you have finished to
  30.    display the picture or the user aborted.
  31.  
  32. 2) do not SEEK in the data stream. This will not work.
  33.  
  34. 3) read and decode only small portions of the data stream,
  35.    render the data to the screen immediately.
  36.  
  37. BTW: Does anyone of you know if one can use the IsInteractive() DOS call 
  38. for determining wheter a filehandle is a PIPE handle or not?
  39.  
  40. Currently, Visage is not working with PIPE filehandles. It seems to open
  41. the stream twice. This is what I experienced when I was trying to show a 
  42. JFIF image through PIPE:
  43.  
  44. I had to copy the file into the PIPE: twice  because the first time, 
  45. Visage only recognized the file type (JFIF). The second time, visage 
  46. showed the image flawlessly.
  47.  
  48. Visage seems to use Christop Feck's tower.library for decoding JFIF 
  49. images. I wonder wheter it is possible at all to make this thing 
  50. PIPE-friendly. (no idea). Perhaps it is the tower.library that opens
  51. the file a second time.
  52.  
  53. It would be so exciting to see images "grow" during download,  especially 
  54. interlaced GIFs and progressive JPEGs (that do sharpen during download).
  55.  
  56. Will anyone face the challenge to write a PIPE-friendly Gfx viewer? 
  57. (ideally opening a window on a public screen, not using too many pens for 
  58. rendering - and please support ECS as well).
  59.  
  60.    ... PLEAZZE!!!
  61.  
  62.   //
  63. \X/ Flowerpower
  64.  
  65.  
  66.  
  67.