Search found 289 matches

by whugemann
2012-10-05T02:44:02-07:00
Forum: Users
Topic: GUI for Geometry
Replies: 9
Views: 14937

Re: GUI for Geometry

You can use IrfanView as a geometry GUI for ImageMagick. You can do that by way of an AutoHotKey script that performs some action based on your selection in IrfanView. (BTW: IrfanView can of course do a batch crop by itself.) Here is an AHK-Script that marks the selected area in the original photo a...
by whugemann
2012-10-02T00:02:06-07:00
Forum: Users
Topic: Blank canvas with the same size as a given image
Replies: 7
Views: 11993

Re: Blank canvas with the same size as a given image

I would certainly second a request for a search engine for the Usage pages, if that is not too terribly hard to implement. The most basic approach would be that you just offer a text field that forwards the search to Google, restricticting the search to the Usage section of IM's website. This is ab...
by whugemann
2012-10-01T12:41:00-07:00
Forum: Users
Topic: How do I determine if a pdf is raster or vector
Replies: 6
Views: 17704

Re: How do I determine if a pdf is raster or vector

Could you please suggest how this might work? Remember, this is a forum on ImageMagick, not on PDF treatment. But I think you will quickly find out, if you just open several PDFs that contain raster graphics in a text editor. A quick check by myself offered "image/width" as a possible str...
by whugemann
2012-09-30T11:18:59-07:00
Forum: Users
Topic: Blank canvas with the same size as a given image
Replies: 7
Views: 11993

Re: Blank canvas with the same size as a given image

Are you aware of http://www.imagemagick.org/Usage/reference.html No, I haven't -- thanks. But I am still more fond of Anthony's problem oriented approach. My (and other people's, I guess) basic problem is that there a numerous ways to achieve a certain thing with ImageMagick, such that you just get...
by whugemann
2012-09-30T10:17:56-07:00
Forum: Users
Topic: How do I determine if a pdf is raster or vector
Replies: 6
Views: 17704

Re: How do I determine if a pdf is raster or vector

I am pretty sure that there is no way of doing that with ImageMagick, because IM essentially is a raster image processor and uses GhostScript as the main PDF processor. Basically, you could search the PDF for certain raster drawing commands. As PDF is pure ASCII text, you could use a simple text pro...
by whugemann
2012-09-28T07:23:29-07:00
Forum: Users
Topic: Blank canvas with the same size as a given image
Replies: 7
Views: 11993

Re: Blank canvas with the same size as a given image

Thanks Fred, it seems like this was rather obvious ... I usually search within the Usage section of the ImageMagick website -- and would have found the examples for sure, as I have just tested. I have just figured out an easy way to restrict the Google search to the Usage section of IM's website, wi...
by whugemann
2012-09-27T00:49:49-07:00
Forum: Users
Topic: can i draw a bold text with regular font?
Replies: 7
Views: 36303

Re: can i draw a bold text with regular font?

I think you can only do it in draw. <?php exec("convert -size 230x130 xc:lightblue -font verdana.ttf -pointsize 25 -style italic -draw \"gravity NorthWest fill black text 0,0 'The quick red fox jumped over the lazy brown dog'\" font1.png"); ?> I just tried this under Windows. Yo...
by whugemann
2012-09-27T00:31:24-07:00
Forum: Users
Topic: Blank canvas with the same size as a given image
Replies: 7
Views: 11993

Blank canvas with the same size as a given image

As an afterthought to http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=21928 I would like to know whether one can produce a blank canvas of the same size as a given image with just one IM command line. In my answer to this thread I pointed out a way to perform this task in a scrip...
by whugemann
2012-09-24T06:55:07-07:00
Forum: Users
Topic: Converting PNG file to display equation on Kindle
Replies: 7
Views: 13715

Re: Converting PNG file to display equation on Kindle

Use "convert -draw ..." or "composite" to compose the PNG over a white canvas. Yes, that should do the trick. I think that the problems originate from the fact that your equation is purely black and white (1-bit) in the original file and the smothing of the edges is done by a 4 ...
by whugemann
2012-09-20T23:46:32-07:00
Forum: Users
Topic: Download Location for really old versions?
Replies: 6
Views: 12282

Re: Download Location for really old versions?

There is no archive of compiled older versions, see
viewtopic.php?f=1&t=20672
viewtopic.php?f=1&t=20293
by whugemann
2012-09-17T04:29:19-07:00
Forum: Developers
Topic: Structure of the IM source code
Replies: 1
Views: 4666

Structure of the IM source code

I took the question http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=21866 as an occasion to have a view on the IM source files (which I have been wanting for years). At the moment, I don't want to compile IM myself, just look up some code. As expected, this is a rather complex ta...
by whugemann
2012-09-09T23:57:04-07:00
Forum: Users
Topic: perspective projection corrdinates
Replies: 7
Views: 11384

Re: perspective projection corrdinates

Coordinates in pixels ? That would be a big problem. I want to let it run in a loop where all images have different pixel sizes. In fact, it's not a problem. If you are working with a bunch of images, you will probably have to use a script anyway. This script could also perform any co-ordinate tran...
by whugemann
2012-09-06T23:32:24-07:00
Forum: Users
Topic: Circular "tiling" of an image
Replies: 10
Views: 15186

Re: Circular "tiling" of an image

Correction: Although the code SET Line=path 'M 0,5 0,49 M -2,25 2,25 M -4,49 4,49' imconv -size 101x101 xc:white -fill none -stroke black -draw "translate 50,50 circle 0,0 0,5 %LINE% rotate 90 %LINE% rotate 180 %LINE% rotate 270 %LINE%" Crosshairs.png gives the expected result, it's kind o...
by whugemann
2012-09-06T23:25:26-07:00
Forum: Users
Topic: Dropouts at certain angles when rotating a path
Replies: 3
Views: 5577

Re: Dropouts at certain angles when rotating a path

Thanks Anthony, the basic idea that I missed is that the rotations are incremental. I made the same mistake in the thread http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=21752, rotating by 90° 90° + 180° = 270° 90° + 180° + 270° = 180° which however didn't reveal, as the result t...
by whugemann
2012-09-06T06:13:34-07:00
Forum: Users
Topic: converting vector paths to separate transparent PNGs
Replies: 2
Views: 4813

Re: converting vector paths to separate transparent PNGs

I think that ImageMagick is not suitable for this task, as this requires filtering the vector objects within the original files. IM is basically a raster image processor. You will probably have to use one of the dedicated EPS/PS/PDF manipulation programs for this task, which are rarely free of charge.