problems with make

Thomas L. Scofield scofield at calvin.edu
Tue Aug 5 13:52:31 CDT 2008


Quoting Ben Abbot:
 > Have you installed imagemagick using FInk?

I believe imagemagick is irrelevant here, as we are using the  
GraphicsMagick fork off of ImageMagick.  I was able to compile after  
making a couple of changes to __magick_read__.cc.  The changeset is  
included below.

Thomas L. Scofield
--------------------------------------------------------
Associate Professor
Department of Mathematics and Statistics
Calvin College
--------------------------------------------------------

# HG changeset patch
# User scofield 'AT' calvin 'DOT' edu
# Date 1217961952 14400
# Node ID 2489a9e459ffad937b3abe2e8d894b12ef733e17
# Parent  4363bc94171ac18fa0ce5ccf6a7550712b9c1ca4
Add explicit conversions from octave_int<uint8_t> to MagickLib::Quantum

diff -r 4363bc94171a -r 2489a9e459ff src/DLD-FUNCTIONS/ 
__magick_read__.cc
--- a/src/DLD-FUNCTIONS/__magick_read__.cc	Mon Aug 04 14:33:38 2008  
-0400
+++ b/src/DLD-FUNCTIONS/__magick_read__.cc	Tue Aug 05 14:45:52 2008  
-0400
@@ -487,9 +487,9 @@ write_image (const std::string& filename
  	    {
  	      for (int x = 0; x < columns; x++)
  		{
-		  pix[i].red = m(y,x,0);
-		  pix[i].green = m(y,x,1);
-		  pix[i].blue = m(y,x,2);
+		  pix[i].red = m(y, x, 0).value ();
+		  pix[i].green = m(y, x, 1).value ();
+		  pix[i].blue = m(y, x, 2).value ();
  		  i++;
  		}
  	    }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.cae.wisc.edu/pipermail/octave-maintainers/attachments/20080805/11127d49/attachment.html 


More information about the Octave-maintainers mailing list