9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* JPEG decoder help
@ 1995-02-08 18:42 Alberto
  0 siblings, 0 replies; only message in thread
From: Alberto @ 1995-02-08 18:42 UTC (permalink / raw)


Hi, 

I ported a JPEG decoder to plan9. It produces a 
dump pic file, with 3 channels. It works well with B/W screens, 
at least on ELCs. However, I'm having some problems to 
display these files on color screens. They look with a lot
of red and green.

To display them I did:

$ djpeg -pic file.jpg | fb/drop                # which looks awful
$ djpeg -pic file.jpg | fb/dither |  fb/drop   # which looks
											   a little better
$ djpeg -pic file.jpg | fb/quantize |  fb/drop # which looks awful too

It's interesting to note that fb/dither does a better job
that quantize even though the manual says the contrary.

Well, here are some questions:

1) Does plan9 graphics system do something with 24-bit pic files?
2) what does it do?
3) Does fb/gif2pic work in any site, specially plan9.att? It does
   not work in our site. It produces something similar to my pic files.
4) Is there a way to fix the pic files generated by gif2pic?

	Any comment would be appreciated, 

	Thanks

P.D.
If anyone wants this software, in spite of what I say before, 
feel free to mail me.






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-02-08 18:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-02-08 18:42 JPEG decoder help Alberto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).