Search found 16 matches

by cedk
2016-07-19T03:19:36-07:00
Forum: Users
Topic: Get the image number
Replies: 3
Views: 3076

Re: Get the image number

Thnaks, that's exactly what I was looking for :-) !
I thought that IM could answer me... but it's OK
Regards
by cedk
2016-07-19T00:56:31-07:00
Forum: Users
Topic: Get the image number
Replies: 3
Views: 3076

Get the image number

Hello, I gonna buy a camera and I want to be sure of how many pitcures was taken. I've read that 'identify' could return it. The page http://www.imagemagick.org/script/identify.php says The information returned includes the image number ... . But I can find it in the command return, even with ...
by cedk
2012-02-01T02:05:26-07:00
Forum: Developers
Topic: Removing the Green Screen From the image
Replies: 12
Views: 67346

Re: Removing the Green Screen From the image

Looking on Google for solutions (my problem is to remove a blue screen in background), I found this topic, and solutions. I also saw that the subject had been consulted many times. Hence the decision for "someone" to bump the topic ...;-) However, anyone know the formula for a blue background ...
by cedk
2012-01-30T09:09:27-07:00
Forum: Developers
Topic: Removing the Green Screen From the image
Replies: 12
Views: 67346

Re: Removing the Green Screen From the image

Hi,

what about Green screen ?

Code: Select all

convert GTS_yellow_green_screen.jpg -channel alpha -fx "K0*b − K1*g + K2" output.png
CedK
by cedk
2011-11-30T09:18:17-07:00
Forum: Developers
Topic: Gravity and justify...
Replies: 6
Views: 16935

Re: Gravity and justify...

Hi,

Is there a date scheduled for IM7 ? With justify option ??!!! :wink:
I can't see anything about that on this page : http://www.imagemagick.org/script/porting.php

Regards
by cedk
2011-05-10T07:02:48-07:00
Forum: Developers
Topic: Gravity and justify...
Replies: 6
Views: 16935

Re: Gravity and justify...

To not forget my question...
Thanks
by cedk
2010-12-17T14:28:47-07:00
Forum: Users
Topic: parsing geometry option with regexp
Replies: 7
Views: 14895

Re: parsing geometry option with regexp

You can get each of those from string formats w, h, W, H, X, Y see http://www.imagemagick.org/script/escape.php xoffset=`convert image -format "%X" info:` for windows users see http://www.imagemagick.org/Usage/windows/ Thank you Fred ! Now I know, for sure. However, one point : I wanted to do the ...
by cedk
2010-12-17T03:27:30-07:00
Forum: Users
Topic: parsing geometry option with regexp
Replies: 7
Views: 14895

Re: parsing geometry option with regexp

OK, I didn't know %400x300 was a valid format. The aim of that regex was to get 2 things : the size and the offset. So it is possible to call a PHP function (method actually in my case) with an argument ($geom) written in the same way as the geometry IM option,and in consequence, keeping the ...
by cedk
2010-12-16T07:21:00-07:00
Forum: Users
Topic: parsing geometry option with regexp
Replies: 7
Views: 14895

Re: parsing geometry option with regexp

Hi Anthony, I think my reg exp does parse all what you say. Output only 4 numbers doesn't seem to me appropriated, I prefer getting seperated datas, and then, if needed, concatenate the necessary values. However, I change my reg exp to have all numbers directly (with the sign if present, real ...
by cedk
2010-12-15T08:26:48-07:00
Forum: Users
Topic: parsing geometry option with regexp
Replies: 7
Views: 14895

parsing geometry option with regexp

Hi, I found a way to parse the -geometry option with regular expressions. This can be usefull. Maybe ! I wrote it in PHP : <?php function im_geom($geom) { $spe = "[\%|\^|\!|\>|\<|\@]?"; $number_type = "(\d*)($spe)"; $size = "(?:$number_type)?(?:(?:x)(?:$number_type))?"; $sign = "[\+|\-]+"; $sign ...
by cedk
2010-12-12T04:01:36-07:00
Forum: Users
Topic: Writing a text with justify argument relative to a point
Replies: 9
Views: 22601

Re: Writing a text with justify argument relative to a point

fmw42 wrote:I suggest that you post your suggestion to the Developers forum as an enhancement request and link back to this topic.
done : viewtopic.php?f=2&t=17662
by cedk
2010-12-12T04:00:40-07:00
Forum: Developers
Topic: Gravity and justify...
Replies: 6
Views: 16935

Gravity and justify...

Hello, As suggested by fmw42 ,this is an enhancement request. Topic : Writing a text with justify argument relative to a point I think I understand (~) the -gravity option. But for justify text, I didn't found any existing option. So what about creating an -justify option ? or maybe, to be as ...
by cedk
2010-12-10T13:41:14-07:00
Forum: Users
Topic: Writing a text with justify argument relative to a point
Replies: 9
Views: 22601

Re: Writing a text with justify argument relative to a point

Bonzo wrote:There is imagettfbbox( ) if you are using php.
http://php.net/manual/en/function.imagettfbbox.php
Thanks, Bonzo.
Actually, this is a function who uses gd library. And I want to change my php class from gd to im, for some reasons.
by cedk
2010-12-10T05:53:36-07:00
Forum: Users
Topic: Writing a text with justify argument relative to a point
Replies: 9
Views: 22601

Re: Writing a text with justify argument relative to a point

Thank you for this rapide response !

Do you think it is possible to do it in one command line ?
And what do you mean by "All I can suggest it request it from Cristy."... What is Cristy ?

CedK
by cedk
2010-12-09T03:55:35-07:00
Forum: Users
Topic: Writing a text with justify argument relative to a point
Replies: 9
Views: 22601

Writing a text with justify argument relative to a point

Hello all, I'm new on this forum and french, so sorry for my english... :? So I want to write some text, relative to a certain pont, on an image, with the baseline of the text . I have found a solution but there is maybe a better one. Here it is : For the example, I write "jabp" to see the baseline ...