Search found 31 matches

by bensto
2019-09-09T22:42:40-07:00
Forum: Bugs
Topic: Bug: convert: clBuildProgram failed. (-11) @ warning/opencl.c/CompileOpenCLKernel/1395
Replies: 9
Views: 5198

Re: Bug: convert: clBuildProgram failed. (-11) @ warning/opencl.c/CompileOpenCLKernel/1395

Sorry. convert" "D:\work\Screenshot_20190906-180124.png" -resize x800 -debug accelerate -quality 97 "D:\work\Screenshot_20190906-180124.png" yields: 2019-09-10T05:38:26+00:00 0:00.029 0.031u 7.0.8 Accelerate convert[6044]: opencl.c/GetOpenCLCacheDirectory/375/Accelerate Using cache directory: "C:\Us...
by bensto
2019-09-09T00:20:26-07:00
Forum: Bugs
Topic: Bug: convert: clBuildProgram failed. (-11) @ warning/opencl.c/CompileOpenCLKernel/1395
Replies: 9
Views: 5198

Re: Bug: convert: clBuildProgram failed. (-11) @ warning/opencl.c/CompileOpenCLKernel/1395

with new version 64 IM crashes (on 64bit Win7) with popup message: ImageMagick Studio library and utility program has stopped working A problem caused the program to stop working correctly, Please close the program. I downloaded and used "ImageMagick-7.0.8-64-portable-Q16-x64.zip" When I add the "-d...
by bensto
2019-08-28T00:59:35-07:00
Forum: Bugs
Topic: Bug: convert: clBuildProgram failed. (-11) @ warning/opencl.c/CompileOpenCLKernel/1395
Replies: 9
Views: 5198

Re: Bug: convert: clBuildProgram failed. (-11) @ warning/opencl.c/CompileOpenCLKernel/1395

On my 64bit Win7 system I found no TdrDelay registry entry.

Furthermore I wonder why this warning appears only recently.
In the past IM worked WITHOUT TdrDelay change.

What was changed in IM?
by bensto
2019-08-26T23:20:40-07:00
Forum: Bugs
Topic: Bug: convert: clBuildProgram failed. (-11) @ warning/opencl.c/CompileOpenCLKernel/1395
Replies: 9
Views: 5198

Re: Bug: convert: clBuildProgram failed. (-11) @ warning/opencl.c/CompileOpenCLKernel/1395

yes, it looks like as if I am getting the desired result....but approx 20 times slower. For resizing a photo tooks now ~10seconds (in comparison to 0.5 seconds before). So what causes the fallback from GPU to CPU? I did not change something extraordinary in my 64bit Win7 system in comparison to time...
by bensto
2019-08-26T01:19:45-07:00
Forum: Bugs
Topic: Bug: convert: clBuildProgram failed. (-11) @ warning/opencl.c/CompileOpenCLKernel/1395
Replies: 9
Views: 5198

Bug: convert: clBuildProgram failed. (-11) @ warning/opencl.c/CompileOpenCLKernel/1395

When I want to convert (resize) a *.png image under 64bit Win7 then sometimes (mostly but not always) the following error appears: convert: clBuildProgram failed. (-11) @ warning/opencl.c/CompileOpenCLKernel/1395. Hmm, ImageMagick worked fine with the same command on the same computer in the past. S...
by bensto
2019-06-25T14:22:58-07:00
Forum: Users
Topic: How to find out if a *.jpg is currently rotated?
Replies: 2
Views: 3462

How to find out if a *.jpg is currently rotated?

Many cameras create a photo file with originally portrait orientation by capturing it pyhsically in landscape mode and create header tag that it is rotated by 90 (or 270 deg). When such a *.jpg file is opened in a (most) picture viewer, then the picture viewer reads at first the orientation header t...
by bensto
2019-06-25T14:13:39-07:00
Forum: Users
Topic: How to sharpen and increase saturation of *.jpg picture?
Replies: 1
Views: 3169

How to sharpen and increase saturation of *.jpg picture?

Assume I have a *.jpg picture and want to

1.) sharpen it by lets say 10% (whatever it means)

2.) Increase saturation by 12%

How can I achieve the two tasks with ImageMagick?

Ben
by bensto
2018-06-12T02:09:21-07:00
Forum: Users
Topic: How to count/list all images in a dir tree with certain size or resolution?
Replies: 12
Views: 5332

Re: How to count/list all images in a dir tree with certain size or resolution?

Ok, so "-precision 16" is completely useless since I get the number of Bytes already with "set BYTES=%%~zF"
by bensto
2018-06-11T20:24:58-07:00
Forum: Users
Topic: How to count/list all images in a dir tree with certain size or resolution?
Replies: 12
Views: 5332

Re: How to count/list all images in a dir tree with certain size or resolution?

Ok, meanwhile I have fixed the bug. The script runs for filtering images for width and height. Now there is still a problem with the size. Originally in one of the first posts the "set BYTES=%%~zF" trick was suggested. Then fmw42 suggested -precision 16 solution. From my point of view that means I c...
by bensto
2018-05-30T00:21:24-07:00
Forum: Users
Topic: How to count/list all images in a dir tree with certain size or resolution?
Replies: 12
Views: 5332

Re: How to count/list all images in a dir tree with certain size or resolution?

Thank you for all the suggestions. However when I try to setup a full script I am experiencing errors like "Missing operator". Furthermore I wonder how I can use the "-precision 16" parameter to filter and count the files matching the threshold. Have a look at the following batch script: http://s000...
by bensto
2018-05-28T06:13:18-07:00
Forum: Users
Topic: How to count/list all images in a dir tree with certain size or resolution?
Replies: 12
Views: 5332

Re: How to count/list all images in a dir tree with certain size or resolution?

@snibgo:

Ok, thank you.
You said:

>The operating-system "%~zF" can do that

What does that mean? Can I switch somehow from inside the batch script the format how the WinOS returns the number of bytes?
by bensto
2018-05-25T03:43:50-07:00
Forum: Users
Topic: How to count/list all images in a dir tree with certain size or resolution?
Replies: 12
Views: 5332

How to count/list all images in a dir tree with certain size or resolution?

Assume I have I big dirextory tree with lots of images inside. The top node starts at the dir D:\archive\images\personal\ Now I want to count (resp. to log into logfile) all *.jpg images (only) which have a file size of e.g. 300KB and more. Secondly I want to do a similar search but this time I want...
by bensto
2018-04-23T05:05:39-07:00
Forum: Users
Topic: How to strip (or add time) to ALL (!) timestamps in EXIF JPG header?
Replies: 1
Views: 2124

How to strip (or add time) to ALL (!) timestamps in EXIF JPG header?

Assume I have a couple of *.jpg pictures with a big EXIF header each. This EXIF headers contains (beside other meta information) some timestamp fields: date/time date/time original date/time digitalized .....? How excatly can I (with ImageMagick) a) strip off all (only) timestamp header fields? b) a...
by bensto
2017-10-06T06:37:37-07:00
Forum: Users
Topic: How to crop 32 pixels at the top?
Replies: 7
Views: 7714

Re: How to crop 32 pixels at the top?

ok. Thx
by bensto
2017-10-06T06:20:28-07:00
Forum: Users
Topic: How to crop 32 pixels at the top?
Replies: 7
Views: 7714

Re: How to crop 32 pixels at the top?

Thank you for clarification.

However after ImageMagick decompressed (internally) the *.jpg and applied the -chop command a re-compression takes place:

At which compression level (by default)?

Assume I want a compression level of 97%: How can I specify this in the convert command above?