0

I have image data in yuv422 format in EEPROM using at91sam9260 using image sensor interface (ISI). i want to write it to SD-card in .bmp format? Or i have to first convert yuv422 image to RGB and then i have to process data to write BMP file? I have to do it in C. thanks

Haris_tech
  • 83
  • 1
  • 2
  • 13

1 Answers1

0

You'll need to convert it. The BMP file format only supports RGB image data.

If you don't want to do the conversion on your microprocessor (hint: you probably don't), you can just write out the YUV data to a file on the SD card -- call it a .yuv file, if you like -- and do the conversion on your PC. That'll probably be much easier.