octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #52599] gnuplot shows shaded images with imsho


From: Francesco Potortì
Subject: [Octave-bug-tracker] [bug #52599] gnuplot shows shaded images with imshow
Date: Wed, 6 Dec 2017 08:42:47 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0

URL:
  <http://savannah.gnu.org/bugs/?52599>

                 Summary: gnuplot shows shaded images with imshow
                 Project: GNU Octave
            Submitted by: pot
            Submitted on: Wed 06 Dec 2017 02:42:45 PM CET
                Category: Plotting with gnuplot
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

After applying the patch for bug #52589 (have not tried without the patch)
gnuplot shows a shaded image when using imshow on a png image containing only
primary saturated colours.

THe following works well with the attached file


close all; graphics_toolkit fltk;
imshow(double(imread('path2017/legend.png')));


If you try using gnuplot rather than fltk, you see a shaded image.

By the way, note that I force the output of imread to double because of bug
#49140.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 06 Dec 2017 02:42:45 PM CET  Name: legend.png  Size: 1KiB   By: pot
contains only primary saturated colours
<http://savannah.gnu.org/bugs/download.php?file_id=42583>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52599>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]