Search found 11107 matches

by snibgo
2019-01-21T12:55:12-07:00
Forum: Users
Topic: How to specify a complete path with layer extraction?
Replies: 9
Views: 138

Re: How to specify a complete path with layer extraction?

What version of IM, on what platform?
by snibgo
2019-01-21T09:11:39-07:00
Forum: Users
Topic: ImageMagick Strange size/text issue
Replies: 3
Views: 53

Re: ImageMagick Strange size/text issue

I'll move this to the "Users" forum. I suggest you upgrade to current v6 ImageMagick, and a more recent Ghostscript eg v9.19. Also rearrange the command so you read the PDF, then draw text on it, then write the output. If you still have problems, please say exactly what command is used, ie without v...
by snibgo
2019-01-21T08:36:41-07:00
Forum: Users
Topic: ImageMagick Strange size/text issue
Replies: 3
Views: 53

Re: ImageMagick Strange size/text issue

You are reading a PDF, so IM delegates that work to Ghostscript. I suspect you are using two different versions of GS. They may also be old. IM v6.7.2 is certainly old. I suggest you upgrade.
by snibgo
2019-01-21T07:39:14-07:00
Forum: Magick.NET
Topic: Specifying gamma when reading pixel data
Replies: 3
Views: 49

Re: Specifying gamma when reading pixel data

I don't think you can set the gamma before reading the image.

At the command line, "-set gamma 1.0" changes the gamma setting after the image has been read. Sorry, I don't know how to do that in Magick.NET.
by snibgo
2019-01-21T06:27:59-07:00
Forum: Magick.NET
Topic: Specifying gamma when reading pixel data
Replies: 3
Views: 49

Re: Specifying gamma when reading pixel data

The "Image" structure has an element "gamma", which you can set.
by snibgo
2019-01-21T06:05:55-07:00
Forum: Users
Topic: Using pango with convert
Replies: 8
Views: 159

Re: Using pango with convert

"pango:" creates a new image. This can have a transparent background so the result can be composited over another image, like this: convert \ -background None \ pango:@ptest.txt \ -resize 267x233 \ -fill '#00000050' \ -draw "rectangle 50,50 530,970" \ toes.png \ +swap \ -compose Over -composite \ -q...
by snibgo
2019-01-20T19:35:26-07:00
Forum: Users
Topic: Using pango with convert
Replies: 8
Views: 159

Re: Using pango with convert

I wouldn't use "-geometry" to resize an image, and I don't know what you want to do with your input image "wall". But this command: #!/bin/bash convert \ pango:@ptest.txt \ -geometry x1080 \ -fill '#00000050' \ -draw "rectangle 50,50 530,970" \ -pointsize 20 \ -fill '#ffff99' \ ptest_out.png ... wit...
by snibgo
2019-01-20T09:54:02-07:00
Forum: Bugs
Topic: Incorrect gamma color correction from svg to jpg
Replies: 1
Views: 51

Re: Incorrect gamma color correction from svg to jpg

Experimentation suggests that RSVG is not correctly linearizing linked images before applying filters (SVG color-interpolation-filters="linearRGB"). Workarounds include: 1. Use Inkscape as the delegate. Simply ensure Inkscape is installed and on the system path. ImageMagick will then use it. 2. Or: ...
by snibgo
2019-01-19T18:57:18-07:00
Forum: Users
Topic: Using pango with convert
Replies: 8
Views: 159

Re: Using pango with convert

What version of IM? Your syntax is bad. You should read an image, then process it, then write it. You process the image (eg "-draw") before you have read it. Your command doesn't contain "pango:" Therefore you are not using pango. Even if your text contains pango markup, it is merely text that is dr...
by snibgo
2019-01-19T14:36:43-07:00
Forum: Developers
Topic: Problem with memory
Replies: 1
Views: 62

Re: Problem with memory

sunnyrose1994 wrote:Why it doesn't free all allocated memory ?
Perhaps it does, but Windows doesn't do garbage collection until the program has finished.
by snibgo
2019-01-19T14:33:33-07:00
Forum: Users
Topic: Help with TIFF
Replies: 2
Views: 92

Re: Help with TIFF

I don't understand the overall question, but ...
sunnyrose1994 wrote:The problem is that transparent area around the image becomes black, which terrible for us.
... perhaps "-background White -alpha Background" will help.
by snibgo
2019-01-18T19:51:52-07:00
Forum: Bugs
Topic: Can't remove ICC profile when writing miff files
Replies: 3
Views: 168

Re: Can't remove ICC profile when writing miff files

Okay, thanks, but the ICC properties are automatically removed when the output is TIFF, even though I didn't explicitly delete them. f:\web\im>%IMG7%magick xc: -profile sRGB.icc x2.tiff f:\web\im>%IMG7%magick identify -verbose x2.tiff |grep icc icc:copyright: Copyright 2007 International Color Conso...
by snibgo
2019-01-18T07:54:14-07:00
Forum: Users
Topic: Urgent - please help!
Replies: 24
Views: 575

Re: Urgent - please help!

I will ask once more, then I'll give up.

Please try the command without "-shave". The command would be:

Code: Select all

"C:\Program Files\ImageMagick-7.0.8-Q16\mogrify.exe" *.png 
Do you get the same bad result?
by snibgo
2019-01-18T04:25:46-07:00
Forum: IMagick
Topic: Imagick composite produces a significantly larger output filesize
Replies: 4
Views: 123

Re: Imagick composite produces a significantly larger output filesize

Your text says "composes an image atop of another" but your code says you use CopyOpacity, not Atop. The overlay you show is JPG, not PNG. Changing fully-transparent pixels to fully-transparent black makes a big difference to the size, and no visible difference to the result: magick 3p3F9Ir.jpg -res...
by snibgo
2019-01-17T17:50:42-07:00
Forum: Bugs
Topic: Can't remove ICC profile when writing miff files
Replies: 3
Views: 168

Can't remove ICC profile when writing miff files

Tested with IM v7.0.7-28 on Windows 8.1. "-strip" and "+profile *" don't remove ICC profiles when the output is miff format. For example, create an image, assign a profile, remove it, and save as miff. Then examine the miff for an ICC profile: f:\web\im>%IMG7%magick xc: -profile sRGB.icc +profile "*...