• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

D bindings to the GraphicsMagick library.


Commit MetaInfo

Révisione22586198365f87e13a085f50f5f6b127bfd7138 (tree)
l'heure2023-07-22 09:47:39
AuteurMio <stigma@disr...>
CommiterMio

Message de Log

[examples] Update MagickD to use initializeMagick

Change Summary

Modification

--- a/examples/convert.d
+++ b/examples/convert.d
@@ -32,8 +32,7 @@ int main(string[] args) {
3232 return 1;
3333 }
3434
35- InitializeMagick(null);
36- scope(exit) DestroyMagick();
35+ initializeMagick(null);
3736
3837 MagickWand wand = MagickWand.create();
3938 wand.readImage(args[1]);
--- a/examples/make_gif.d
+++ b/examples/make_gif.d
@@ -27,8 +27,7 @@ import magickd;
2727
2828 int main(string[] args)
2929 {
30- InitializeMagick(null);
31- scope(exit) DestroyMagick();
30+ initializeMagick(null);
3231
3332 // At least: make_gif input1 input2 output
3433 if (args.length < 4) {
--- a/examples/ping.d
+++ b/examples/ping.d
@@ -40,8 +40,7 @@ int main(string[] args)
4040 return 1;
4141 }
4242
43- initializeMagick();
44- scope(exit) destroyMagick();
43+ initializeMagick(null);
4544
4645 foreach(arg; args[1 .. $]) {
4746 writeln("-------");