Search found 29 matches

by bablokb
2011-01-09T02:21:06-07:00
Forum: Users
Topic: How to prevent an existing coder to grab a file
Replies: 2
Views: 6814

Re: How to prevent an existing coder to grab a file

This workaround works for the NEF case, but not for the SVG case (my version doesn't even call the delegate for svg defined in delegates.xml). Another point: why should I reproduce the logic to identify image-types in my script? In general IM does a very good job at this. And to stress one point ...
by bablokb
2010-12-23T03:59:07-07:00
Forum: Users
Topic: How to prevent an existing coder to grab a file
Replies: 2
Views: 6814

How to prevent an existing coder to grab a file

Hello, I have two problems with the setup of IM regarding coders/delegates: I want to process nef-files with my own delegate, not the dng-delegate. The only way to prevent the dng-delegate to take control is to redefine the dng-decoder in delegates.xml (but then I loose the ability to process real ...
by bablokb
2010-05-07T01:26:10-07:00
Forum: Bugs
Topic: convert -list exits with return-code of 1
Replies: 9
Views: 22125

Re: convert -list exits with return-code of 1

Sorry, my version is ImageMagick 6.5.4-8 2009-10-24 Q16 OpenMP (only version on my system). running on linux kernel 2.6.27.7 (32bit). I will try an upgrade, but usually this is not always feasible due to distribution-dependencies. A confirmation that a newer version runs correctly under linux would ...
by bablokb
2010-05-06T00:23:20-07:00
Forum: Bugs
Topic: convert -list exits with return-code of 1
Replies: 9
Views: 22125

convert -list exits with return-code of 1

Hello,

running the -list operator of convert (e.g. convert -list colorspace) will result in a return-code of 1. Since there is no error-condition, a return-code of 0 is expected.

Bernhard
by bablokb
2009-06-26T12:29:44-07:00
Forum: Users
Topic: Removing orange tint-mask from color-negatives
Replies: 6
Views: 19675

Re: Removing orange tint-mask from color-negatives

And finally, a very simple solution which does not need any information about the color-mask: convert /tmp/moth.jpg -negate -channel all -normalize x: Credit: http://www.computer-darkroom.com/tutorials/tutorial_6_1.htm . But with IM it is much simpler than with PS ;-) This normalizes each channel ...
by bablokb
2009-06-26T11:52:50-07:00
Forum: Users
Topic: Removing orange tint-mask from color-negatives
Replies: 6
Views: 19675

Re: Removing orange tint-mask from color-negatives

Here is an improvement, which gives almost identical results to the one on the website: convert /tmp/moth.jpg \( -clone 0 -fill "rgb(176,111,79)" -colorize 100% -negate \) -compose overlay -composite -negate -normalize x: Alternatively, instead of -fill ... -colorize 100%, +level-colors "rgb(176,111 ...
by bablokb
2009-06-26T02:01:05-07:00
Forum: Users
Topic: Removing orange tint-mask from color-negatives
Replies: 6
Views: 19675

Re: Removing orange tint-mask from color-negatives

Thanks for the nice illustrated solution. I think I will write a little script which will automate all the steps.

Bernhard
by bablokb
2009-06-25T06:00:41-07:00
Forum: Users
Topic: Removing orange tint-mask from color-negatives
Replies: 6
Views: 19675

Removing orange tint-mask from color-negatives

Hello, how can I remove the orange tint-mask from color-negatives with IM? I found one reference to gimp http://www.freecolormanagement.com/color/gimp_negative_scanning.html which might give a hint. Probably one has to set the color of the tint-mask manually somewhere on the commandline - or is ...
by bablokb
2009-03-06T02:45:26-07:00
Forum: Bugs
Topic: Missing documentation (+polaroid, -blend)
Replies: 1
Views: 5820

Missing documentation (+polaroid, -blend)

Hi,

the following options are not documented:

-blend

and

+polaroid.

Note that there are various (dead) links to the -blend option in the documentation, whereas +polaroid is only mentioned on the usage-pages.

Bernhard
by bablokb
2009-02-24T08:16:07-07:00
Forum: Users
Topic: Using my own delegate for nef-files
Replies: 2
Views: 7458

Re: Using my own delegate for nef-files

Your tip works fine for single-images. But I have a lot of scripts where I use e.g. "montage *" in a directory with all kinds of file-types. No way to add mynef: to the relevant subset of files. And in other scripts, the filename is just passed in as an argument from the user. Any other suggestion ...
by bablokb
2009-02-24T03:39:15-07:00
Forum: Users
Topic: autodetection of portrait-images
Replies: 1
Views: 5836

autodetection of portrait-images

Hello, my scanner supports scanning slides in landscape and portrait-mode. My idea is to do a quick preview-scan in landscape-mode, use some magic IM-command-sequence to find out if the image really is landscape or not and then scan the slide with the correct orientation. If the image is in portrait ...
by bablokb
2009-02-24T03:06:18-07:00
Forum: Users
Topic: Using my own delegate for nef-files
Replies: 2
Views: 7458

Using my own delegate for nef-files

Hello, the current setup uses the DNG-coder for NEF-files (defined in coder.xml) and a dng:decode-delegate (defined in delegates.xml). I would like to change this and use my own script. Specfically, I would like my delegate to extract the embedded jpg-image of the NEF-file. This is much faster than ...
by bablokb
2009-01-29T04:26:00-07:00
Forum: Announce
Topic: A new java interface to ImageMagick
Replies: 0
Views: 33880

A new java interface to ImageMagick

I have just published the initial release of im4java (http://im4java.sourceforge.net). In contrast to JMagick (http://www.jmagick.org), which uses JNI to access the C-API of ImageMagick, im4java just generates the ImageMagick commandline. Both approaches have their merits and java developers can ...
by bablokb
2008-10-06T04:41:44-07:00
Forum: Bugs
Topic: cr2-raw format not properly detected
Replies: 4
Views: 11330

Re: cr2-raw format not properly detected

Hi, this problem seems to be related to http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=12188 Adding the cr2: prefix is fine for a single, manual convert operation. But for an automatic, script-based image-processing application this is not a solution. And in previous versions, IM ...
by bablokb
2008-10-04T06:48:29-07:00
Forum: Bugs
Topic: resize bug
Replies: 5
Views: 12968

Re: resize bug

Try

convert DSCN0084.JPG -resize 800x600 test1.jpg

instead of

convert -size 800x600 DSCN0084.JPG test1.jpg

Bernhard