Menu

#5 Thumbnail color conversion to RGB is incorrect

broken
open-remind
nobody
lib (8)
3
2000-08-28
2000-02-05
No

The code treats the format as YCbCr when it's actually UYVY.

You get 2 RGB pixels for every 1 UYVY group.

It's also upside down. So the first row is actually the bottom row of the picture.

Discussion

  • Jim Thompson

    Jim Thompson - 2000-03-18
    • status: open --> open-remind
     
  • Jim Thompson

    Jim Thompson - 2000-03-18

    Not having any doco, I guessed at the conversion. Point me to some UYVY -> RGB code and I\'ll fix it.

     
  • Johannes Erdfelt

    The digita driver I hacked together which was thrown into gphoto has some sample code in the thumbnail routine. It should be readable enough to know what needs to be done

     
  • Jim Thompson

    Jim Thompson - 2000-08-28
    • priority: 5 --> 3
    • milestone: 100100 --> broken
     

Log in to post a comment.

MongoDB Logo MongoDB