9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Alberto Nava beto@plan9.cs.su.oz.au
Subject: JPEG decoder help
Date: Wed,  8 Feb 1995 13:42:36 -0500	[thread overview]
Message-ID: <19950208184236.UTN9iV8lwY1SvohjnUZCbYHDqPO51B__zB09QzsXBRE@z> (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.






                 reply	other threads:[~1995-02-08 18:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19950208184236.UTN9iV8lwY1SvohjnUZCbYHDqPO51B__zB09QzsXBRE@z \
    --to=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).