public
Description: Automatic approximation of typical Photoshop actions
Homepage: http://rcrowley.org/2007/11/08/introducing-curvr/
Clone URL: git://github.com/rcrowley/curvr.git
curvr / depth.cc
100644 19 lines (15 sloc) 0.32 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
* curvr
* Richard Crowley <r@rcrowley.org>
*
* This is a test file to determine the quantum depth GraphicsMagick uses.
*/
 
#include "Magick++.h"
#include <stdio.h>
 
using namespace Magick;
 
int main(int, char * *) {
Geometry geo(1, 1);
Color color("red");
Image img(geo, color);
printf("%d", img.depth());
}