
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
"Adam Wnęk" wrote: > > Hi > > I build my own JFIF decoder, but it is a trouble with colors. When i decode > luminance only it is not bad. I see the right shapes like an inverse of > image (where color is black, that's not working fine :(). When I convert > from Y Cb Cr to RGB the colors are wrong. On grayscaled image (3 components) > i see a red-blue image (the truth is I always see red-blue image and > yellow). > I read about sampling, but in my test image I have always set X sample and Y > sample to 1. So I don't resample the image. Is this wrong ? > Can anyone help me ? http://www.wotsit.org/ http://www.ijg.org/ a very simple decoder: ftp://137.193.64.130/pub/jpeg/pfp.zip
| <-- __Chronological__ --> | <-- __Thread__ --> |