Skip to main content
Chuev.Vladimir
Associate III
November 9, 2015
Question

STM32F746G-DISCO LibJpeg

  • November 9, 2015
  • 1 reply
  • 567 views
Posted on November 09, 2015 at 13:00

I use LibJpeg on board F7. I have a few questions.

In reference example used an image 240x320, but my display is 480x272. I changed

http://vk.com/feed?section=search&q=%23define

for new picture and increased line_counter to 721, but get a white screen. It's first.

And second, how to display images larger then screen size? For example 1920×1080.
    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    November 9, 2015
    Posted on November 09, 2015 at 13:38

    May be the library has some documentation?

    The typical methods for displaying a fragment of a larger image, are to either decode the image to a larger buffer, and window that to the frame buffer, where you provide a method to scroll around, or decimate the image to fit. Or the library provides a means to extract a portion of the image based on an x/y offset and size,  into a smaller buffer. If you have enough memory to hold the entire uncompressed image, that's likely to be the faster/efficient way of dealing with it.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..