Search found 294 matches

by whugemann
2019-11-11T09:53:13-07:00
Forum: Users
Topic: Best compression code
Replies: 10
Views: 254

Re: Best compression code

And as I see now: Then you also don't need the option -precision 16, as the result is delivered in bytes by default ;-)
by whugemann
2019-11-11T09:43:55-07:00
Forum: Users
Topic: Select file ordering under Windows
Replies: 4
Views: 80

Re: Select file ordering under Windows

OK, here is my tested solution: SETLOCAL EnableDelayedExpansion %~d1 CD %~p1 DEL MLIST.txt DEL slist.txt DEL sfl.txt :: Query sort order SET C=0 FOR %%i in (%*) DO ( SET /P A=Position %%~ni%%~xi = ECHO !A!_%%i>>MLIST.TXT ) :: :: Sort filenames TYPE mlist.txt|SORT >> slist.txt :: :: Strip off counter...
by whugemann
2019-11-11T08:21:19-07:00
Forum: Users
Topic: Best compression code
Replies: 10
Views: 254

Re: Best compression code

Good suggestion, this will make the integer math robust.This would need:

Code: Select all

 SET S=!S:B=!
 SET /A S=9*!S!/1000
an one could leave the extent option at KB.
by whugemann
2019-11-11T07:09:48-07:00
Forum: Users
Topic: Select file ordering under Windows
Replies: 4
Views: 80

Re: Select file ordering under Windows

1: This sounds like an idea, although "sliding" is impossible in a command box. But one could list the files with a numbering and ask the user to answer somthing like "1432". 2: You cannot really sent multiple times to the same batch script, Windows will run an new instance every time. But one could...
by whugemann
2019-11-11T07:00:34-07:00
Forum: Users
Topic: Best compression code
Replies: 10
Views: 254

Re: Best compression code

Although I doubt that this approach makes much sense, here is the Windows batch code that basically does the trick: SETLOCAL EnableDelayedExpansion FOR %%i in (*.jpg) DO ( FOR /F %%j IN ('identify -format %%b %%i') DO SET S=%%j SET S=!S:KB=! SET /A S=9*!S!/10 magick %%i -define jpeg:extent=!S!KB %%~...
by whugemann
2019-11-11T02:47:54-07:00
Forum: Users
Topic: Select file ordering under Windows
Replies: 4
Views: 80

Select file ordering under Windows

I would like to write a Windows solution that montages, say, 4 photos in 2x2 order to an image. This is easy to achieve with montage , I know. The difficult thing is to let the user easily choose the ordering of the images: If I use Windows SendTo, I have no control on the file ordering. My experime...
by whugemann
2019-08-25T23:45:05-07:00
Forum: Users
Topic: Preserve EXIF while conversation from TIF to TIF/TIF to JPG
Replies: 17
Views: 10083

Re: Preserve EXIF while conversation from TIF to TIF/TIF to JPG

This is the official answer of the development team: The TIFF delegate library has support for EXIF but we found it to be buggy. It often caused faults and exposed a security vector. We eventually disabled EXIF. Until we see improved support for EXIF in the TIFF delegate library, you will instead ne...
by whugemann
2019-08-23T00:44:00-07:00
Forum: Users
Topic: Preserve EXIF while conversation from TIF to TIF/TIF to JPG
Replies: 17
Views: 10083

Re: Preserve EXIF while conversation from TIF to TIF/TIF to JPG

I just ran into the same problem when converting RAW into TIFF, see https://imagemagick.org/discourse-server/viewtopic.php?p=167971#p167971. It took me some time to find out that the problem was created solely by ImageMagick that deleted the Exif information during the conversion TIFF --> TIFF. And ...
by whugemann
2019-08-13T04:12:51-07:00
Forum: Users
Topic: Piping from dcraw to ImageMagick?
Replies: 4
Views: 2932

Re: Piping from dcraw to ImageMagick?

I tried the piping version -- yesterday on my computer at home, running Windows 10, 64 bit and just now on my office computer running Windows 7, 32 bit. The latter has just thrown a different error when using IM's version of dcraw (9.27): dcraw laments that there is 'no disk'. Again, the unmodified ...
by whugemann
2019-08-12T13:52:15-07:00
Forum: Users
Topic: Piping from dcraw to ImageMagick?
Replies: 4
Views: 2932

Re: Piping from dcraw to ImageMagick?

Yes, this does the trick! But, as far as I see, only with the original version of dcraw. If I use IM's modified version (which has the additional option -O) instead, IM reports that it cannot read the input file: magick: improper image header `C:/Users/Hugemann/AppData/Local/Temp/magick-1824039DJfQo...
by whugemann
2019-08-12T10:08:04-07:00
Forum: Users
Topic: Piping from dcraw to ImageMagick?
Replies: 4
Views: 2932

Piping from dcraw to ImageMagick?

I am using a Windows appliction that calculates luminance from RAW images taken by a calibrated camera. This application allows me to define two command lines that convert the original photo into an 8-bit-TIFF for display on the monitor and a 16-bit-TIFF for evaluation of the luminance. The default ...
by whugemann
2019-05-28T13:13:35-07:00
Forum: Users
Topic: Nikon D750 .nef raw conver
Replies: 22
Views: 9036

Re: Nikon D750 .nef raw conver

I think our misunderstanding arises from the point that your suggested delegate-command <delegate decode="LUM2" stealth="True" command="cmd.exe /c (F:/pictures/dcrawag.exe -q 3 -o 0 -4 -r 1 1 1 1 -S 65535 -T -O "%u" "%i") & (magick TIFF:%u -colorspace Gray -resize 600x600 %o)...
by whugemann
2019-05-28T12:03:43-07:00
Forum: Users
Topic: Nikon D750 .nef raw conver
Replies: 22
Views: 9036

Re: Nikon D750 .nef raw conver

IM has no mechanism for taking arbitrary options from its command line and passing those to the delegate. I don't want to pass parameters to the delegate; I would like to be to be free of choice in regard to the operations that magick performs on the temporary file, for example scaling, a 3x3 media...
by whugemann
2019-05-28T07:58:10-07:00
Forum: Users
Topic: Nikon D750 .nef raw conver
Replies: 22
Views: 9036

Re: Nikon D750 .nef raw conver

Although your suggestion works and solves my actual problem, I am not quite convinced: The result is pretty much the same as that of the batch file: C:\Programme\ImageMagick7\dcraw.exe -q 3 -o 0 -4 -r 1 1 1 1 -S 65535 -T -O "%~dp1temp.TIF" %1 magick "%~dp1temp.TIF" -distort barrel "0.0099 -0.0678 0....
by whugemann
2019-05-28T02:02:01-07:00
Forum: Users
Topic: Nikon D750 .nef raw conver
Replies: 22
Views: 9036

Re: Nikon D750 .nef raw conver

I have a similar problem under Windows 10, 64 bit: I would like to develop a Sony RAW photo (*.arw) with my own settings and apply a lens correction to it. Following the hint given in this thread I arrived at: <delegate decode="LUMINANCE" stealth="True" command="dcraw.exe -q 3 -o 0 -4 -r 1 1 1 1 -S ...