Search found 57 matches

by afre
2015-04-03T13:35:18-07:00
Forum: Users
Topic: Multi-line Syntax (cmd)
Replies: 4
Views: 4199

Multi-line Syntax (cmd)

Continued from this discussion. snibgo, how would you make this arbitrary code more readable?

Code: Select all

FOR %j in (045 155) DO FOR %k in (050 150) DO convert rose: -resize 500% -modulate %j,%k,100 rose%j%k.png
Could easily add another loop by substituting rose: with %i for batch image processing.
by afre
2015-04-02T02:03:05-07:00
Forum: Users
Topic: Midtone Mask
Replies: 22
Views: 11906

Re: Midtone Mask

fmw42: that's the answer I was looking for.
snibgo: I'll continue the syntax discussion in a new topic.
by afre
2015-03-28T12:34:05-07:00
Forum: Users
Topic: Midtone Mask
Replies: 22
Views: 11906

Re: Midtone Mask

I have 2 questions regarding syntax that's loosely related to the topic. I am trying to combine these two commands: convert in.png -define modulate:colorspace=LCHuv -modulate 100,100,85 ycbcr_hc.png -hald-clut -threshold 50% mask.png and convert in.png mask.png -compose CopyOpacity -composite out.pn...
by afre
2015-03-24T19:24:25-07:00
Forum: Users
Topic: Midtone Mask
Replies: 22
Views: 11906

Re: Midtone Mask

snibgo wrote:You could do this (Windows BAT syntax):
Thanks. That helps answer the second part of my initial post, giving me a better idea of how -fx works.

I also edited my other post so that it makes more sense. I'm not very good at articulating my thoughts :?
by afre
2015-03-24T13:47:55-07:00
Forum: Users
Topic: Midtone Mask
Replies: 22
Views: 11906

Re: Midtone Mask

Blurring alone doesn't solve my problem; however, it does help smooth the feathering . Unfortunately, the feathering doesn't always work either. Anyway, I'll dodge the issue by dropping the xc:black / white s and using gradient: s exclusively. How about something more complex? E.g., how would I go a...
by afre
2015-03-11T16:24:00-07:00
Forum: Users
Topic: Midtone Mask
Replies: 22
Views: 11906

Re: Midtone Mask

A midtone mask with hard B&W edges isn't ideal for photo manipulation. I would like to soften the edges in a perceptually smooth (nonlinear) and gradual (stretched out) way so that the "seams" don't show. Feathering works to a certain extent but it doesn't look natural. Any ideas? [Edi...
by afre
2015-03-09T21:25:59-07:00
Forum: Users
Topic: Midtone Mask
Replies: 22
Views: 11906

Midtone Mask

Hello All, I would like to process the midtones of an image. What I think I need to do: Create a mask with L* midtones as white and the rest black. Feather the mask to ensure a smooth undetectable transition. Process my image and composite with original using mask. I don't know if that's the best ap...
by afre
2015-03-09T14:53:55-07:00
Forum: Users
Topic: Processing for print
Replies: 50
Views: 20990

Re: Processing for print

2. Unfortunately, this won't work on my system: %imdev%convert -quiet %i %sssOPTION% %~ni_.TIF Currently, I have to modify sigSetSd.bat to write to a file that I can access later using FOR /f "tokens=... It doesn't make much sense to me but it happens with the slashes too when I use %im% or %im...
by afre
2015-03-09T13:55:34-07:00
Forum: Users
Topic: Processing for print
Replies: 50
Views: 20990

Re: Processing for print

Re: CYGWIN Puzzle → What I know so far and might be why I've been having trouble with snibgo 's scripts: Re: Permissions problem. I found a simple workaround: due to inheritance, the permissions are correctly administered when I write to a different directory than the current one. On my system, CYGW...
by afre
2015-03-04T12:01:21-07:00
Forum: Users
Topic: Convcert sRGB to CMYK
Replies: 11
Views: 11871

Re: Convcert sRGB to CMYK

As the saying goes, it's about using the right tool for the job. I use ExifTool regularly with IM and PS.
by afre
2015-03-04T11:34:50-07:00
Forum: Users
Topic: Convcert sRGB to CMYK
Replies: 11
Views: 11871

Re: Convcert sRGB to CMYK

Did a quick search:
ExifTool considers the "ImageSourceData" tag unsafe. Not much is understood. PS does a lot of things that are incompatible with the rest of the software world so I am not surprised.
by afre
2015-03-04T11:16:45-07:00
Forum: Users
Topic: Convcert sRGB to CMYK
Replies: 11
Views: 11871

Re: Convcert sRGB to CMYK

Sorry for my ignorance—just entering the discussion, I am having trouble understanding the problem. Do the TIF files originate from PS, IM or unknown? Are we trying to assign a profile but it is failing? Or are we converting from one colorspace to another? Or something else?
by afre
2015-03-04T10:10:50-07:00
Forum: Users
Topic: Processing for print
Replies: 50
Views: 20990

Re: Processing for print

The cygwin-built IM creates files with permissions different from the Windows default (a looser one). Any idea how I can prevent this? > icacls mean.png pc\User:(R,W,D,WDAC,WO) pc\None:(R) Everyone:(R) NT AUTHORITY\SYSTEM:(F) BUILTIN\Administrators:(F) > ls -l mean.png -rw-rwxr--+ 1 User None 111355...
by afre
2015-03-01T14:22:11-07:00
Forum: Users
Topic: Processing for print
Replies: 50
Views: 20990

Re: Processing for print

I linked to the Matlab help pages for the discussion on the function's arguments, "Prominence", and links to "Peak Analysis" and "Find Peaks in Data". Anyway, it was just to give you and fmw42 context to where my thoughts lie. I look forward to your implementation :).
by afre
2015-03-01T12:27:03-07:00
Forum: Users
Topic: Processing for print
Replies: 50
Views: 20990

Re: Processing for print

More info on what I meant by peaks (see "More About").