Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10973

TASImage read from file not displayed (correctly)

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • High
    • Resolution: Unresolved
    • master, 6.22/00
    • None
    • Graphics
    • None
    • OpenSUSE Tumbleweed, gcc 10.2, c++17

    Description

      If store canvas from `tutorials/image/rose_image.C` into file, read it back and draw,

      most of the images are not drawn. On the terminal I see errors:

      ```

      libpng error: invalid screen gamma in png_set_gamma
      libpng error: invalid screen gamma in png_set_gamma
      libpng error: invalid screen gamma in png_set_gamma
      libpng error: invalid screen gamma in png_set_gamma
      Error in <TASImage::Paint>: no image set
      Error in <TASImage::Paint>: no image set
      Error in <TASImage::Paint>: no image set
      Error in <TASImage::Paint>: no image set

      ```

      Seems to be, all images which are internally stored in PNG format, fails.

      Two remaining images are shown with palette, which is not a case with original macro.

       

      Attachments

        Activity

          People

            couet Olivier Couet
            slinev Serguei Linev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: