Search found 10 matches

by Sardoan
2017-10-19T02:46:20-07:00
Forum: Bugs
Topic: Gravity Center not centered with text
Replies: 5
Views: 6098

Re: Gravity Center not centered with text

The code made the image. It is a screenshot from my virtual machine. Its the view from the atom-editor. Left the black border to show where the image ends. Made the screenshot with windows having my virtual machine open. Sorry for the confusion. The image rendered with ImageMagick is the picture wit...
by Sardoan
2017-10-19T01:31:36-07:00
Forum: Users
Topic: Center a text problem
Replies: 16
Views: 11316

Re: Center a text problem

:( Works with "WR". But not with "MR".
by Sardoan
2017-10-18T23:47:17-07:00
Forum: Users
Topic: Center a text problem
Replies: 16
Views: 11316

Re: Center a text problem

Seems I should try a newer version. Thanks. The borders are not from the picture itself. I have a docker container in a virtual machine and the pictures were screenshots from the atom editor and borders are there because I cutted them not too precisly. Thanks a lot, hope the newer version does the j...
by Sardoan
2017-10-18T03:56:19-07:00
Forum: Bugs
Topic: Gravity Center not centered with text
Replies: 5
Views: 6098

Re: Gravity Center not centered with text

Version: Version: ImageMagick 6.8.9-9 Q16 x86_64 OS: PRETTY_NAME="Debian GNU/Linux 8 (jessie)" NAME="Debian GNU/Linux" VERSION_ID="8" VERSION="8 (jessie)" ID=debian HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support&quo...
by Sardoan
2017-10-18T03:44:31-07:00
Forum: Users
Topic: Center a text problem
Replies: 16
Views: 11316

Re: Center a text problem

Version: ImageMagick 6.8.9-9 Q16
by Sardoan
2017-10-18T03:16:21-07:00
Forum: Bugs
Topic: Gravity Center not centered with text
Replies: 5
Views: 6098

Gravity Center not centered with text

Gravity center does not center correctly for all letters. With trim it cuts off letters:
Image
by Sardoan
2017-10-18T01:52:07-07:00
Forum: Users
Topic: Center a text problem
Replies: 16
Views: 11316

Re: Center a text problem

I am using ImageMagick from within an elixir-application. My code is: defp create_picture(outfile, initials) do size = 480 resolution = 72 sampling_factor = 2 color = ...some color... fontcolor = ...some color... System.cmd "convert", [ "-density", "#{resolution * sampling_f...
by Sardoan
2017-10-18T01:09:43-07:00
Forum: Users
Topic: Center a text problem
Replies: 16
Views: 11316

Re: Center a text problem

Removed gravity and it worked: https://image.ibb.co/eyGH6R/mr_WO_GRAV.png But only for this case. Tried it with "WW" and this came out: https://image.ibb.co/iouWY6/ww.png How can I achiev a vertical align middle? And by the way, working with " MR " is not working, becase ImageMag...
by Sardoan
2017-10-18T00:56:09-07:00
Forum: Users
Topic: Center a text problem
Replies: 16
Views: 11316

Re: Center a text problem

I had an avatar with border, trim was cutting the "R" off.
Here is an example without trim and without the border:
Image

As you can see gravity center is not working in this case.
Right side of the "R" was cut off.
by Sardoan
2017-10-17T23:33:39-07:00
Forum: Users
Topic: Center a text problem
Replies: 16
Views: 11316

Center a text problem

Hi, I am trying to generate an avatar with the initials of the user. Sounds simple, there are some examples like convert -background lightblue -fill blue \ -font Candice -pointsize 72 label:Anthony \ label.gif Somehow gravity center is not working correctly with all characters. If I use "MR&quo...