[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Loading and average PGM files
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: Loading and average PGM files |
Date: |
Tue, 26 Jun 2012 15:08:08 -0400 |
On 26 June 2012 03:01, Mathieu <address@hidden> wrote:
> I think I followed step by step your instructions.
[snip]
> warning: your version of GraphicsMagick limits images to 8 bits per pixel
> error: imread: invalid image file: Magick++ exception: Magick: Invalid
> colormap index (index 65287 >= 256 colors,
> /home/mja/Documents/test/Following/d/1.pgm) reported by
> magick/colormap.c:239 (MagickConstrainColormapIndex)
> error: called from:
> error: /usr/share/octave/3.6.2/m/image/imread.m at line 74, column 7
What does the following program output?
#include <Magick++.h>
#include <iostream>
int main()
{
std::cout << QuantumDepth << std::endl;
}
Save it to foo.c++, compile and run with:
g++ $(pkg-config --cflags GraphicsMagick++) foo.c++ -o foo && ./foo
On my system, the output is 16.
- Jordi G. H.
- Re: Loading and average PGM files, (continued)
- Re: Loading and average PGM files, Jordi Gutiérrez Hermoso, 2012/06/18
- Re: Loading and average PGM files, Sergei Steshenko, 2012/06/18
- Re: Loading and average PGM files, Jordi Gutiérrez Hermoso, 2012/06/18
- Re: Loading and average PGM files, Laurent Hoeltgen, 2012/06/18
- Re: Loading and average PGM files, Jordi Gutiérrez Hermoso, 2012/06/18
- Re: Loading and average PGM files, Mathieu, 2012/06/25
- Re: Loading and average PGM files, Jordi Gutiérrez Hermoso, 2012/06/25
- Re: Loading and average PGM files, Mathieu, 2012/06/26
- Re: Loading and average PGM files,
Jordi Gutiérrez Hermoso <=
- Re: Loading and average PGM files, Mathieu, 2012/06/26
- Re: Loading and average PGM files, Mathieu, 2012/06/26
- Re: Loading and average PGM files, Jordi Gutiérrez Hermoso, 2012/06/26
- Re: Loading and average PGM files, Mathieu, 2012/06/27
- Re: Loading and average PGM files, Mathieu, 2012/06/27
- Re: Loading and average PGM files, Mathieu, 2012/06/27
- Re: Loading and average PGM files, Jordi Gutiérrez Hermoso, 2012/06/27
- Re: Loading and average PGM files, Mathieu, 2012/06/27
- Re: Loading and average PGM files, Mathieu, 2012/06/27
- Re: Loading and average PGM files, Mathieu, 2012/06/27