Mercurial > mxe-octave
annotate src/graphicsmagick-test.cpp @ 1492:c16a0b13337d
new package: graphicsmagick
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sat, 11 Dec 2010 22:50:57 +0100 |
parents | |
children | f653602a0500 |
rev | line source |
---|---|
1492
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
1 /* This file is part of mingw-cross-env. */ |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
2 /* See doc/index.html for further information. */ |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 #include <Magick++.h> |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
6 int main(int argc, char *argv[]) |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
7 { |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
8 (void)argc; |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 (void)argv; |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 Magick::InitializeMagick(0); |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 Magick::Image image; |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 image.quality(90); |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 return 0; |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 } |