Mercurial > mxe-octave
annotate src/graphicsmagick-test.cpp @ 7207:9ed6500e56d3 default tip @
maint: Merge release to default.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 17 May 2024 20:16:41 +0200 |
parents | 99516e73b368 |
children |
rev | line source |
---|---|
2351
8a6c466753e2
Improve comment style of all test programs
Volker Grabsch <vog@notjusthosting.com>
parents:
2333
diff
changeset
|
1 /* |
8a6c466753e2
Improve comment style of all test programs
Volker Grabsch <vog@notjusthosting.com>
parents:
2333
diff
changeset
|
2 * This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2351
diff
changeset
|
3 * See index.html for further information. |
2351
8a6c466753e2
Improve comment style of all test programs
Volker Grabsch <vog@notjusthosting.com>
parents:
2333
diff
changeset
|
4 */ |
1492
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 #include <Magick++.h> |
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 int main(int argc, char *argv[]) |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 { |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 (void)argc; |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 (void)argv; |
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::InitializeMagick(0); |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 Magick::Image image; |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 image.quality(90); |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 return 0; |
c16a0b13337d
new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 } |