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

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

[Octave-bug-tracker] [bug #41673] imwrite creates bad jpeg grayscale ima


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #41673] imwrite creates bad jpeg grayscale images
Date: Wed, 11 Feb 2015 17:42:23 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.4.0

Update of bug #41673 (project octave):

                  Status:                   Fixed => Patch Submitted        
             Open/Closed:                  Closed => Open                   

    _______________________________________________________

Follow-up Comment #6:

I just gave it a go on the default branch and despite comment #2, this is
indeed not fixed.

Answering comment #4

yes it is a wonder because this works fine for other formats. I can't find it
on the documentation at the moment but if I remember correctly (it has been
almost 2 years), you should be able to create grayscale images by setting the
red channel.  And that is why 10 lines above the snippet you show, the image
is created with type Magick::GrayscaleType 

What is happening then? Is the mean of the 3 channels being used on the new
image? Why does this not happen for the other coders/formats?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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