Search found 25563 matches
- 2019-09-18T12:04:28-07:00
- Forum: PerlMagick
- Topic: [SOLVED] How to find a list of methods(?)/operations in my version of Image::Magick?
- Replies: 3
- Views: 74316
Re: How to find a list of methods(?)/operations in my version of Image::Magick?
I do not use PerlMagick, but have you seen https://imagemagick.org/script/perl-magick.php
- 2019-09-18T10:45:53-07:00
- Forum: Users
- Topic: Handling bad color names/numbers..
- Replies: 1
- Views: 7033
Re: Handling bad color names/numbers..
Code: Select all
convert -fill "#000000" label:test test.gif
There is no darkgold at https://imagemagick.org/script/color.php. But there is a dark goldenrod
- 2019-09-18T08:44:44-07:00
- Forum: Users
- Topic: Composite: Person & checkerboard pattern
- Replies: 7
- Views: 11320
Re: Composite: Person & checkerboard pattern
Input: http://www.fmwconcepts.com/misc_tests/checkerboard_effect/Bill_Murray.jpg WxH=`convert Bill_Murray.jpg -format "%wx%h" info:` ww=`echo $WxH | cut -dx -f1` hh=`echo $WxH | cut -dx -f2` convert Bill_Murray.jpg \ \( -size ${ww}x$((hh+80)) pattern:checkerboard -distort perspective \ &qu...
- 2019-09-17T21:19:20-07:00
- Forum: Users
- Topic: Unable to trim borders of a scanned document
- Replies: 4
- Views: 9191
Re: Unable to trim borders of a scanned document
50% would be way too much. You have trimmed it all away to zero dimensions that is why you get that message. The issue with your image is that if you look at full resolution, it has a few dark spots near the top. That prevents a normal trim from working. You need to remove those spots, before you ca...
- 2019-09-17T12:07:46-07:00
- Forum: IMagick
- Topic: Problem with dy in text->tspan
- Replies: 5
- Views: 170384
Re: Problem with dy in text->tspan
You can find out by running the following in PHP exec()
exec("convert -list format | grep 'SVG'")
exec("convert -list format | grep 'SVG'")
- 2019-09-17T12:05:13-07:00
- Forum: Users
- Topic: Counting Color and Grey Scale in a directory?
- Replies: 19
- Views: 27005
Re: Counting Color and Grey Scale in a directory?
Correct -- Colorspace is Gray and Type is Grayscale.
- 2019-09-17T09:48:00-07:00
- Forum: Users
- Topic: transparency changes in IM 7
- Replies: 11
- Views: 21259
Re: transparency changes in IM 7
The issue is that the aspect of the two images are not the same. So the shamrock when resized is not the same size as the input and would need the black area extended to the same size as the input. So for IM 7 on unix, try the following which works for me. magick input.jpg -set option:dims "%wx...
- 2019-09-17T09:17:43-07:00
- Forum: IMagick
- Topic: Problem with dy in text->tspan
- Replies: 5
- Views: 170384
Re: Problem with dy in text->tspan
ImageMagick can use one of 3 SVG renderers list from best to worst results: Inkscape, RSVG delegate or MSVG/XML. So what renderer is being used by the ImageMagick called by Imagick? If you install Inkscape on the system that is being used by Imagick, then if ImageMagick can find it, it will be used ...
- 2019-09-17T09:07:31-07:00
- Forum: Users
- Topic: Unable to trim borders of a scanned document
- Replies: 4
- Views: 9191
Re: Unable to trim borders of a scanned document
For ImageMagick 7, use magick in place of convert. ImageMagick 7 is more strict about syntax than ImageMagick 6. Both need the following syntax for raster images: For IM 6: convert inputimage <settings> <operator> outputimage For IM 7: magick inputimage <settings> <operator> outputimage
- 2019-09-17T09:04:37-07:00
- Forum: Users
- Topic: Counting Color and Grey Scale in a directory?
- Replies: 19
- Views: 27005
Re: Counting Color and Grey Scale in a directory?
for i in *.jpg;do identify -ping "$i"|grep Grayscale ;done|wc -l for i in *.tif;do identify -ping "$i"|grep Grayscale ;done|wc -l Grep from identify for Grayscale is wrong. It would need to be Gray convert logo: -colorspace gray logo_gray.jpg identify logo_gray.jpg logo_gray.jpg...
- 2019-09-17T08:55:03-07:00
- Forum: Developers
- Topic: Troubles Converting PDF to JPEG
- Replies: 1
- Views: 62403
Re: Troubles Converting PDF to JPEG
Please always provide your ImageMagick version and platform. Also your exact command line and your PDF file so we can test it. My guess is that your PDF file has transparency and JPG does not support transparency. So try convert image.pdf -background white -alpha background image.jpg If on ImageMagi...
- 2019-09-16T16:45:27-07:00
- Forum: Users
- Topic: Change DPI while keeping resolution
- Replies: 32
- Views: 67338
Re: Change DPI while keeping resolution
I have never used it, but I think you have to install it as a delegate, possible in place of libtiff. However, check the libtiff library and see if it is included in libtiff. You may need TIFF64, if so, then try magick in.exr -define quantum:format=floating-point TIFF64:out.tif Searching Google I se...
- 2019-09-16T15:20:51-07:00
- Forum: Users
- Topic: Change DPI while keeping resolution
- Replies: 32
- Views: 67338
Re: Change DPI while keeping resolution
Not the same. Search Google or check http://bigtiff.org and https://www.awaresystems.be/imaging/tiff/bigtiff.html
- 2019-09-16T11:19:26-07:00
- Forum: Users
- Topic: trouble cropping
- Replies: 2
- Views: 7203
Re: trouble cropping
You have your coordinates wrong. Crop is WxH+X+Y. So if you want a width=465 and height=111 at 175,780 top left corner, then use
Code: Select all
convert imageleft.jpg -crop 465x111+175+780 +repage chlorine.jpg
- 2019-09-16T10:49:47-07:00
- Forum: Users
- Topic: Counting Color and Grey Scale in a directory?
- Replies: 19
- Views: 27005
Re: Counting Color and Grey Scale in a directory?
I think you can do it with TIFF also. But not JPG. I do not think JPG keeps a record of Grayscale in its header.