home Forums # Technical Support 2D Surface and JPG Output

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

    Juan,
    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?

    Regards,
    Brian

    #935

    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.

    8x16
    13x15
    33x33
    800x600

    Cheers.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.