home Forums # Technical Support 2D Surface and JPG Output

This topic contains 1 reply, has 2 voices, and was last updated by Juan Rada-Vilela Juan Rada-Vilela 3 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #934

    I note that the pixel sizes configurable for 2D Surface image output increment in units of 8 pixels. I suspected this may have been an issue why I have not been able to get JPG format output files of my 2D Surface display. As I understand valid JPG file structure, the image size should be a multiple of 16 pixels in both directions when 4:2:0 chroma subsampling is used for a colour image, dictated by MCU block size. I have not had any problems with the PNG output format. What chroma subsampling method is used for the JPG files created by QfFuzzylite, please? Setting image size to multiples of 16 in both directions did not let me write JPG output format.

    Has anyone else experienced problems trying to write JPG output files? What drove your choice of an 8 pixel increment, please? Are any other system dll files needed to write JPG output files on a Windows system? What about for LINUX?


    Juan Rada-Vilela
    Juan Rada-Vilela

    Hi Brian,

    As soon as I have time, I will try the Surface2D in Windows, but in Ubuntu Linux it is working just fine. The image formatting and internal details are handled by the Qt framework. Please, refer to the Qt documentation for precise implementation details. You may find below JPEG images at different resolutions for the same controller generated and saved directly from QtFuzzyLite v4.0 without any manipulation. The resolutions are 8×16, 13×15, 33×33 and 800×600 (units in pixels). You may set any resolution for the images, even when the increments are by 8px.



Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.