Search found 46 matches
- 2016-08-04T01:38:00-07:00
- Forum: Users
- Topic: Different gravity for translate and scale
- Replies: 11
- Views: 4385
Re: Different gravity for translate and scale
I understand, thanks
- 2016-08-03T22:33:01-07:00
- Forum: Users
- Topic: Different gravity for translate and scale
- Replies: 11
- Views: 4385
Re: Different gravity for translate and scale
I'm not sure, I'm using ver 6.9.4-3 Q16 x86_64 2016-05-23. but I don't think there is a problem with IM, I actually think it working properly. I thought that maybe there is a way to tell the drawing to use different gravity for the scaling only.
- 2016-08-03T22:13:32-07:00
- Forum: Users
- Topic: Different gravity for translate and scale
- Replies: 11
- Views: 4385
Re: Different gravity for translate and scale
Well, I'm building a scaling animation and if the gravity of the drawing is Center the animation looks better since the scaling occur in the same ratio from all directions but if I use different gravity (North for example) the scaling occur from the West, East & South directions and not the North ...
- 2016-08-03T00:16:41-07:00
- Forum: Users
- Topic: Different gravity for translate and scale
- Replies: 11
- Views: 4385
Re: Different gravity for translate and scale
Yeah but I want it to be like the second example.
I want that the first gravity will effect the translate and the second gravity the scale.
Is that possible?
I want that the first gravity will effect the translate and the second gravity the scale.
Is that possible?
- 2016-08-02T22:51:29-07:00
- Forum: Users
- Topic: Different gravity for translate and scale
- Replies: 11
- Views: 4385
Re: Different gravity for translate and scale
Hey fmw42 I actually managed to find another solution to my main problem but let me answer all of your questions. The version I'm using is 6.9.4-3 Q16 x86_64 2016-05-23. The result for the this script convert -size 250x250 xc:white -font arial -pointsize 36 -fill "black" -draw "gravity North ...
- 2016-08-02T02:41:50-07:00
- Forum: Users
- Topic: Different gravity for translate and scale
- Replies: 11
- Views: 4385
Different gravity for translate and scale
Hi all, I'm trying to position a text with one gravity and the scale it with another, is that possible? This is a command I'm currently using which isn't working convert -quality 100 input.jpg -font assets/grobold.ttf -pointsize 21 -stroke "none" -fill "white" -draw " gravity North translate 0,0 ...
- 2016-07-16T23:07:41-07:00
- Forum: Users
- Topic: Different results for label and annotate/draw (maybe bug in IM)
- Replies: 13
- Views: 4868
Re: Different results for label and annotate/draw (maybe bug in IM)
Yeah, well as one that spent a lot of time investigating font metrics I can tell you that I couldn't find anyway to corollate the diagram with the -debug annotate output.
- 2016-07-16T05:23:56-07:00
- Forum: Users
- Topic: Different results for label and annotate/draw (maybe bug in IM)
- Replies: 13
- Views: 4868
Re: Different results for label and annotate/draw (maybe bug in IM)
fmw42, yeah I understand what you mean and from now on I will add my OS and IM version. However, my question was about what the number actually means (just like snibgo said in the last comment). Sorry for not being clear enough.
- 2016-07-15T00:21:51-07:00
- Forum: Users
- Topic: Different results for label and annotate/draw (maybe bug in IM)
- Replies: 13
- Views: 4868
Re: Different results for label and annotate/draw (maybe bug in IM)
Hey fmw42,
as I understand this is not a bug because what snibgo said:
as I understand this is not a bug because what snibgo said:
right?"label:" automatically chooses a canvas size based on font metrics. For some fonts, glyphs can exceed these boundaries.
- 2016-07-14T13:44:07-07:00
- Forum: Users
- Topic: Different results for label and annotate/draw (maybe bug in IM)
- Replies: 13
- Views: 4868
Re: Different results for label and annotate/draw (maybe bug in IM)
oh, yeah I'm reading them metrics. I also don't know how to parse them.
- 2016-07-14T13:27:47-07:00
- Forum: Users
- Topic: Different results for label and annotate/draw (maybe bug in IM)
- Replies: 13
- Views: 4868
Re: Different results for label and annotate/draw (maybe bug in IM)
How do I get the font metrics?
- 2016-07-14T11:49:19-07:00
- Forum: Users
- Topic: Different results for label and annotate/draw (maybe bug in IM)
- Replies: 13
- Views: 4868
Re: Different results for label and annotate/draw (maybe bug in IM)
Cool snibgo, it's working. However, I also need to use the output in order to get the font's boundaries. For example, this output will allow me to understand that this character have 7px boundary from top 1px from the right, and 8px from the bottom. label:a LABEL 21x21 22x36+0+7 If I use your method ...
- 2016-07-14T09:23:58-07:00
- Forum: Users
- Topic: Different results for label and annotate/draw (maybe bug in IM)
- Replies: 13
- Views: 4868
Different results for label and annotate/draw (maybe bug in IM)
Hey, I'm using a font called grobold ( https://drive.google.com/file/d/0B3CzzluVgJclYU9JN0FOWkdPM1E/view?usp=sharing ) When using label with this command convert -background none -debug annotate "-font" "./assets/grobold.ttf" -pointsize 35 label:'!' -trim -write info: x.png this is the result (29px ...
- 2016-07-07T04:29:16-07:00
- Forum: Users
- Topic: Draw text North not appear at top
- Replies: 9
- Views: 3590
Re: Draw text North not appear at top
Cool, thanks
- 2016-07-07T03:22:20-07:00
- Forum: Users
- Topic: Draw text North not appear at top
- Replies: 9
- Views: 3590
Re: Draw text North not appear at top
Yeah but then I won't get the not trimmed values and wouldn't be able to calculate the right and bottom gaps