-
Hey Bob,
our posts crossed, obviously. Thank you for your quick response and
have a nice evening!
Mick.
2009-07-08 18:36:55 UTC in GraphicsMagick
-
Hey Bob,
our posts crossed, obviously. Thank you for your quick response and
have a nice evening!
Mick.
2009-07-08 17:04:00 UTC in GraphicsMagick
-
No further explanation needed this time: I found it myself after studying the 'geometry' option a bit deeper. Using '!' and the -crop option properly should do the job.
Thanks anyway
Mick.
2009-07-08 17:00:17 UTC in GraphicsMagick
-
Hello again :-)
I'm facing funny results using the -resize and -border commands like this on a 1920x1080 bitmap:
"gm convert -resize 1200x900-0-0 -bordercolor black -border 360x90 sourcefile targetfile"
The new image should have a resized (smaller) version of the original with a black border around, resulting in the width and height of the original (1920x1080). But what I get is...
2009-07-08 16:44:17 UTC in GraphicsMagick
-
When coming back here to look for some older info again, I realize that somehow my last post hasn't reached obviously... So at least my thanks (!) for your support again!
Following your hints (and the faq) I finally had made it work with the @file method then, but it was much slower than processing each picture in a loop - so in the end I skipped further tries.
Regards,
Mick.
2009-07-02 20:19:25 UTC in GraphicsMagick
-
Good morning, everybody,
it's been a long time now that I'm struggling with the COM Object (ImageMagickObject) trying to simply display a dpx image in a VB.net picture box. By now I haven't been able to find any useful information, so that I first convert-resize the dpx to a bitmap on the disk, then reload it and finally show the bmp image. But it really feels like a moron running around the...
2009-06-30 07:48:59 UTC in GraphicsMagick
-
different tries again:
1) gm mogrify -define dpx:packing-method=a -depth 10 -crop 960x540-0-0 -bordercolor black -border 100x50 -output-directory \processed_files -create-directories "d:\Testquelle\Dienerin\*.dpx" *.tif
Result = error --> unable to open file (\processedfiles\D:\Testquelle\Dienerin\reel_06.001041.dpx) [invalid argument].
2) gm mogrify -define...
2009-06-17 22:07:11 UTC in GraphicsMagick
-
Sorry... back again with only partial success.
The -mogrify command with my simple options works (from command line and with a few test files by now), and it works real fast! Just sending the files to a different directory didn't work in all the different ways I tried. I.e., if it didn't produce errors like "invalid parameter" then it overwrote my source pictures.
Here's the...
2009-06-17 21:22:49 UTC in GraphicsMagick
-
Well, Bob (which smiley would I use for 'ashamed' btw?)
you tell it: I DID ignore -mogrify. And from the explanations I had found before, I really wouldn't have figured all the stuff that you're explaining here.
Thanks for that brief and intense input! Sounds like a very useful solution for my purpose, and with the extra information I might save several VB operations, too (e.g. creating...
2009-06-17 20:11:13 UTC in GraphicsMagick
-
Thank you, Bob.
So obviously I misunderstood the "-process" option completely. I had thought I could avoid the performance overhead loading/closing gm for each picture in a batch process (which I manage in VB). I did use crop and depth in the way you wrote.
Still thanks for the explanation of -process, I might now be able to use it in another part of our project. One (humble...
2009-06-17 06:42:33 UTC in GraphicsMagick