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

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

[Octave-bug-tracker] [bug #40669] rgb2ind: uses system ("gm convert...."


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #40669] rgb2ind: uses system ("gm convert....") for dither option
Date: Fri, 22 Nov 2013 13:30:11 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20131030 Firefox/17.0 Iceweasel/17.0.10

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

                 Summary: rgb2ind: uses system ("gm convert....") for dither
option
                 Project: GNU Octave
            Submitted by: carandraug
            Submitted on: Fri 22 Nov 2013 13:30:05 GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

With cset 5d6243c2acbf, the option dither and others related to it were
implemented. However, this is done by making a system call to "gm convert",
one of the applications that *may* get installed with GraphicsMagick. But
Octave is not dependent on this application, it's dependent on the Magick++
library and some users use ImageMagick instead.

The current implementation performs the following:
- saving image as a tiff file
- making a system call to "gm convert"
- read back the converted file 

If a dependency on GraphicsMagick for this is desirable, then there's a map
method http://www.graphicsmagick.org/Magick++/Image.html#map though if I
remember correctly it was limited to 8bit images.

But the algorithm is very simple so that should not be necessary (although it
will most likely be needed to be implemented as oct file as I don't see a way
to vectorize it).

This is slightly related to bug #40664.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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