Search found 5 matches

by bikash00789
2016-08-11T06:02:16-07:00
Forum: IMagick
Topic: Annotate() not working for arabic text?
Replies: 1
Views: 11377

Annotate() not working for arabic text?

Why arabic is coming question mark? I have tried lot of things nothing worked $final_image = new Imagick(); $final_image->newImage( 800, 420, new ImagickPixel('#ffffff')); $final_image->setImageFormat('jpg'); $draw = new ImagickDraw(); $draw->setFillColor('#000'); $draw->setFont('AvantGarde-Demi');...
by bikash00789
2016-07-21T05:27:44-07:00
Forum: IMagick
Topic: While I composite image on other image. Sometimes the second picture becomes black or no picture?
Replies: 0
Views: 14379

While I composite image on other image. Sometimes the second picture becomes black or no picture?

Below is the php code which I am using... $final_image = new Imagick(); $final_image->readImage("http://images.nationalgeographic.com/wpf/media-live/photos/000/936/cache/bear-road-denali_93621_990x742.jpg"); $im1 = new Imagick(); $im1->readImage("http://4.bp.blogspot.com/-HTvSYzA-pO4/...
by bikash00789
2016-04-26T13:56:41-07:00
Forum: Developers
Topic: How I can I add text to multiple line with largest possible font size?
Replies: 2
Views: 5665

How I can I add text to multiple line with largest possible font size?

https://github.com/bikash00789/MyFolder/blob/a842e4f95d49ab721e18962e62eb600e19ee0a8f/final_working_single_line_fit.php here I am able to change fontsize which is for single line? can someone help me for multiple line font resize, it should be best possible size according to the box or rectangle hei...
by bikash00789
2016-04-22T09:59:24-07:00
Forum: Users
Topic: how can I best fit (largest possible) text in a rectangle box?
Replies: 3
Views: 3917

Re: how can I best fit (largest possible) text in a rectangle box?

@fmw42: what code it is .. its not php? can you give me some idea?
by bikash00789
2016-04-22T09:44:29-07:00
Forum: Users
Topic: how can I best fit (largest possible) text in a rectangle box?
Replies: 3
Views: 3917

how can I best fit (largest possible) text in a rectangle box?

I am very new imagemagick in PHP code and I am trying to best fit (largest possible) in a rectangle box, width and height would be dynamically given, for now:100px , height:200px , depending on the string lenght it should best fit into it? I found lot of GD code but did not understand. Please help m...