Search found 24093 matches

by fmw42
2018-12-08T19:20:29-07:00
Forum: Digital Image Processing
Topic: Native CLAHE support
Replies: 15
Views: 2090

Re: Native CLAHE support

Here is the result using IM 7.0.8.16 beta Input: http://www.fmwconcepts.com/misc_tests/adaptivegamma/49228938-c2277f80-f3ec-11e8-8476-2c352741e49f.jpg CLAHE: magick 49228938-c2277f80-f3ec-11e8-8476-2c352741e49f.jpg -clahe 16x16+256+2.5 49228938-c2277f80-f3ec-11e8-8476-2c352741e49f_clahe_16x16+256+2p...
by fmw42
2018-12-06T20:41:41-07:00
Forum: Bugs
Topic: Convert UTF-8 textfile runtime bug
Replies: 3
Views: 71

Re: Convert UTF-8 textfile runtime bug

You do not say what version of ImageMagick, date and platform? Also what delegates and what version of freetype? Does simhei support UTF-8 characters? I do not see any offset. Perhaps you should post your output images to some free hosting service and put the URLs here. __________________________ Pl...
by fmw42
2018-12-06T16:49:17-07:00
Forum: Digital Image Processing
Topic: Convert JPEG from progressive to baseline losslessly
Replies: 14
Views: 33082

Re: Convert JPEG from progressive to baseline losslessly

P.S.

ls -d *

lists only the subdirectories in a given directory.
by fmw42
2018-12-06T16:15:53-07:00
Forum: Digital Image Processing
Topic: Convert JPEG from progressive to baseline losslessly
Replies: 14
Views: 33082

Re: Convert JPEG from progressive to baseline losslessly

Sorry, I misunderstood. You talked about DOS and Windows batch, so I assumed you were on Windows. Given one directory for images and no spaces in your file names, you can do: cd to directory with images list=$(ls) for img in $list; do jpegtran -o $img $img done Sorry I do not know jpegtran. So you w...
by fmw42
2018-12-06T15:28:07-07:00
Forum: Digital Image Processing
Topic: Convert JPEG from progressive to baseline losslessly
Replies: 14
Views: 33082

Re: Convert JPEG from progressive to baseline losslessly

Sorry, one of the Windows users will have to help you. I am on a Mac which uses Unix and the scripting is very different. But you can probably search google or stack overflow and get some information about bat file for loop scripting syntax and examples.
by fmw42
2018-12-06T14:44:50-07:00
Forum: Users
Topic: Watermarked PSD does not work in our software
Replies: 6
Views: 151

Re: Watermarked PSD does not work in our software

I do not know Linux installs. But the patch date is more important than the version number. Check with the CentOS people about a more current patch or install the binary from https://imagemagick.org/script/download.php for IM 7 or https://legacy.imagemagick.org/script/download.php for IM 6
by fmw42
2018-12-06T14:41:01-07:00
Forum: Digital Image Processing
Topic: Convert JPEG from progressive to baseline losslessly
Replies: 14
Views: 33082

Re: Convert JPEG from progressive to baseline losslessly

If jpegtran cannot do it in a batch, then you should be able to do a simple for loop over each image in a folder and call jpegtran in the loop.
by fmw42
2018-12-06T00:25:55-07:00
Forum: MagickWand
Topic: how to make a glow cover img?
Replies: 2
Views: 201

Re: how to make a glow cover img?

Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and your images, if possible. See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at http://www.imagemagick.org/discourse-server...
by fmw42
2018-12-06T00:21:22-07:00
Forum: Developers
Topic: How can imagemagick determine the bit depth of a image need
Replies: 13
Views: 282

Re: How can imagemagick determine the bit depth of a image need

tczf1128 wrote:
2018-12-06T00:19:07-07:00
So how can I know a 16 depth png can convert a 8 bit depth png without distortion. I'm using the magickWand api
You will always lose some quality going from 16-bit to 8-bit, but it may not be visually noticeable. You have to decide what you want to do here.
by fmw42
2018-12-06T00:19:20-07:00
Forum: Users
Topic: Write four band image
Replies: 1
Views: 59

Re: Write four band image

ImageMagick cannot write 4 channels to an RGB image using -combine. The fourth channel would be the alpha channel and it is added by -compose copy_opacity -composite. You can combine 4 channels as CMYK, if you want, but not RGB. ImageMagick (6) does not write to multi-channel TIFF files right now as...
by fmw42
2018-12-06T00:08:51-07:00
Forum: Developers
Topic: How can imagemagick determine the bit depth of a image need
Replies: 13
Views: 282

Re: How can imagemagick determine the bit depth of a image need

And another question. 16 bit depth png to be resized 60%, its depth still 16 bit? I try this image http://test-1257746263.picsh.myqcloud.com/LeftSnap20.png and the result is 16 depth 16-bit images will convert to 16-bit images unless you specify -density 8 try convert LeftSnap20.png -resize 80% -de...
by fmw42
2018-12-06T00:05:29-07:00
Forum: Developers
Topic: How can imagemagick determine the bit depth of a image need
Replies: 13
Views: 282

Re: How can imagemagick determine the bit depth of a image need

try this png http://test-1257746263.picsh.myqcloud.com/7a063c32e5c29a16fda4c02842e7c984.png convert 7a063c32e5c29a16fda4c02842e7c984.png -resize 80% tmp.png -rw-r--r-- 1 tczf staff 45K 12 3 22:44 7a063c32e5c29a16fda4c02842e7c984.png -rw-r--r--@ 1 tczf staff 211K 12 3 19:31 58a40d9d85367.png This in...
by fmw42
2018-12-06T00:01:01-07:00
Forum: MagickWand
Topic: how to dig a hole of specified size from a JPG image
Replies: 17
Views: 951

Re: how to dig a hole of specified size from a JPG image

Sorry, I do not code in your API, but only using the command line. Here is how to do it in command line: magick 58a40d9d85367.png \ \( -clone 0 -alpha extract \) \ \( -clone 0 -alpha off -fill white -colorize 100 -fill black -draw "rectangle 200,200 400,400" -alpha off \) \ \( -clone 1 -clone 2 -com...
by fmw42
2018-12-05T22:16:34-07:00
Forum: Developers
Topic: How can imagemagick determine the bit depth of a image need
Replies: 13
Views: 282

Re: How can imagemagick determine the bit depth of a image need

On IM 7.0.8. 15 Q16 Mac OSX Sierra, the result is smaller by about half (125K for the result vs 216K for the original) magick 58a40d9d85367.png -resize 80% tmp.png magick identify 58a40d9d85367.png tmp.png 58a40d9d85367.png PNG 800x800 800x800+0+0 8-bit sRGB 216289B 0.000u 0:00.000 tmp.png PNG 640x6...
by fmw42
2018-12-05T20:02:44-07:00
Forum: MagickWand
Topic: how to dig a hole of specified size from a JPG image
Replies: 17
Views: 951

Re: how to dig a hole of specified size from a JPG image

Save the original alpha channel. Then create a mask for you hole. Then multiply the alpha channel and the mask. Then put the result back into the alpha channel of the original image.