Search found 40 matches
- 2016-05-24T15:06:35-07:00
- Forum: Users
- Topic: prevent negative number in 'for /f' loop from causing command to break? -brightness-contrast
- Replies: 5
- Views: 4381
Re: prevent negative number in 'for /f' loop from causing command to break? -brightness-contrast
Hey! So removing the for command and just leaving the ImageMagick command works with out a problem. Right now I am working around this by breaking up what I want to happen into a couple steps instead of one for loop: convert %name%%ext% -brightness-contrast %bright%,%Con% -level 0%%,%max%,%gamma% %n...
- 2016-05-24T14:27:45-07:00
- Forum: Users
- Topic: prevent negative number in 'for /f' loop from causing command to break? -brightness-contrast
- Replies: 5
- Views: 4381
Re: prevent negative number in 'for /f' loop from causing command to break? -brightness-contrast
So I can remove the error following your advice and using: for /f %%o in ("convert %name%%ext% -gravity center -crop 50%%x50%%+0+0 -brightness-contrast %bright%,%con% -level 0%%,%max%,%gamma% -format '%%[fx:maxima*100]' info: ") do set maxN=%%o But now my variable 'maxN' is equal to the wo...
- 2016-05-24T13:36:06-07:00
- Forum: Users
- Topic: prevent negative number in 'for /f' loop from causing command to break? -brightness-contrast
- Replies: 5
- Views: 4381
prevent negative number in 'for /f' loop from causing command to break? -brightness-contrast
Hello! So in a normal command prompt this line evaluates just fine: convert filename.tif -gravity center -crop 50%x50%+0+0 -brightness-contrast 4,-5 -level 0%,100%,1.0 -format "%[fx:maxima*100]" info: However, in a batch file and within a for loop, the '-5' in -brightness-contrast causes t...
- 2016-04-05T10:05:48-07:00
- Forum: Users
- Topic: is it possible to recognize a color chart like ArgyllCMS can?
- Replies: 10
- Views: 6444
Re: is it possible to recognize a color chart like ArgyllCMS can?
Here is a tiff scan of the color target I will be using and what the scan would hopefully look like: https://drive.google.com/file/d/0BzGl-rJtgJ-VTS1zYUtxeWE2dFk/view?usp=sharing and thank you for the responses! This all sounds good. I am not intimate with the compare program or the -statistics func...
- 2016-04-05T09:09:08-07:00
- Forum: Users
- Topic: is it possible to recognize a color chart like ArgyllCMS can?
- Replies: 10
- Views: 6444
Re: is it possible to recognize a color chart like ArgyllCMS can?
@snibgo
are there any examples you may be able to point me to that use standardDeviation? Im going to have to research that and an example or something close to it would be great.
thanks!
are there any examples you may be able to point me to that use standardDeviation? Im going to have to research that and an example or something close to it would be great.
thanks!
- 2016-04-05T09:06:26-07:00
- Forum: Users
- Topic: is it possible to recognize a color chart like ArgyllCMS can?
- Replies: 10
- Views: 6444
Re: is it possible to recognize a color chart like ArgyllCMS can?
@fmw42 Thanks for the reminder! So i want to produce a scan of the xrite color target. then crop down the image to a specific number of patches. I guess i was wondering if I would be able to locate the target in the scan because the user may not always keep the target square or in the same place. So...
- 2016-04-05T08:43:16-07:00
- Forum: Users
- Topic: is it possible to recognize a color chart like ArgyllCMS can?
- Replies: 10
- Views: 6444
is it possible to recognize a color chart like ArgyllCMS can?
Is it possible to use IM to locate and recognize a color target , like an XRITE ColorChecker? I can do this with ArgyllCMS but I want to be able to create a new image from some of the color patches on the target. which is to say Argyll uses a scan recognition file (.cht) to somehow locate the color ...
- 2015-12-30T15:29:46-07:00
- Forum: Users
- Topic: override dcraw options without editing delegate.xml?
- Replies: 1
- Views: 3333
override dcraw options without editing delegate.xml?
Hello! So i am working with DNG files and would like to convert them with a linear curve rather than the defaults defined for dcraw in the delegate file. I know how to manually change the delegate file and make this work. This can be explained in this post: http://www.imagemagick.org/discourse-serve...
- 2015-10-05T06:06:25-07:00
- Forum: Users
- Topic: limit black/white levels when using -compose Divide -composite?
- Replies: 8
- Views: 6390
Re: limit black/white levels when using -compose Divide -composite?
This was incredibly useful. Your explanation has helped a lot. Im still working on a final solution and running some tests but will update when I can.
Thank You!
Thank You!
- 2015-10-05T06:04:57-07:00
- Forum: Developers
- Topic: ConfigureWizard from source build error c2280 in visual studio 2015. windows 10.
- Replies: 2
- Views: 5464
- 2015-09-30T13:06:24-07:00
- Forum: Users
- Topic: limit black/white levels when using -compose Divide -composite?
- Replies: 8
- Views: 6390
Re: limit black/white levels when using -compose Divide -composite?
Sorry about that. Here instead is a dropbox link to the files zipped up. this shouldn't have issues. Thanks!
https://www.dropbox.com/s/0esz6dte5jdcn ... 0.zip?dl=0
https://www.dropbox.com/s/0esz6dte5jdcn ... 0.zip?dl=0
- 2015-09-30T08:13:26-07:00
- Forum: Users
- Topic: limit black/white levels when using -compose Divide -composite?
- Replies: 8
- Views: 6390
Re: limit black/white levels when using -compose Divide -composite?
Thank You for your responses. I've read about -evaluate before. I have tried editing the file used for the vignette correction and know i can change the results that way, but want to know if there is a better way. I will research evaluate again and try it out. In the mean time here is a link to the ...
- 2015-09-29T19:55:40-07:00
- Forum: Users
- Topic: limit black/white levels when using -compose Divide -composite?
- Replies: 8
- Views: 6390
Re: limit black/white levels when using -compose Divide -composite?
Thank You for answering fmw42! I will provide a link tomorrow when i have access to the files again.
- 2015-09-29T18:01:32-07:00
- Forum: Users
- Topic: limit black/white levels when using -compose Divide -composite?
- Replies: 8
- Views: 6390
limit black/white levels when using -compose Divide -composite?
hello! Is there a way to control the black level when using -compose Divide -composite to remove a vignette from an image? usage link for vignette removal: http://www.imagemagick.org/Usage/photos/#vignettation my actual single line of code to convert the image is as follows: convert -quiet flatfield...
- 2015-09-28T21:47:08-07:00
- Forum: Developers
- Topic: ConfigureWizard from source build error c2280 in visual studio 2015. windows 10.
- Replies: 2
- Views: 5464
ConfigureWizard from source build error c2280 in visual studio 2015. windows 10.
Hello! I am trying to compile imageMagick using Visual Studio Community 2015. Ive been following the directions on 'install from source' and the 'advanced windows source installation' links. However, after downloading the ImageMagick-Windows.zip I do as the source intall links advise and extract the...