Page 1 of 1
[extension] image
#1
Posted 16 June 2009 - 03:05 AM
hi there.
anyone of those have used this extension knows about the requirements for windows?
I have tried and can't make this work, i have install imagemagick and executed the example code
$image = Yii::app()->image->load('images/test.png');
$image->resize(400, 100)->sharpen(20)->quality(75);
$image->save();
but the does not overwrite the image.
any idea?
anyone of those have used this extension knows about the requirements for windows?
I have tried and can't make this work, i have install imagemagick and executed the example code
$image = Yii::app()->image->load('images/test.png');
$image->resize(400, 100)->sharpen(20)->quality(75);
$image->save();
but the does not overwrite the image.
any idea?
#3
Posted 18 June 2009 - 11:51 PM
thanks for the tip.
i thougth gd was more complicated then imagick, hope not to find issues along.
seems godaddy also support gd.
i thougth gd was more complicated then imagick, hope not to find issues along.
seems godaddy also support gd.
#4
Posted 19 July 2009 - 05:08 PM
Hey, very good job!
I've written two little more functions for personal purposes:
watermark() and insertText()
The former is to insert a watermark over a photo/image, like:
$image->watermark(path_to_the_overlay_image): accepts gif, jpeg, jpg and png and is chainable
The latter is to insert a given text into the image:
insertText($text,$hAlign,$vAlign,$hMargin,$vMargin,$fixX,$fixY,$fontFilePath,$fontSize,$angle,$rgb=array(0,0,0))
I thought the original author could improve and insert these features in the default package...if so, i'll be glad to send the file...
:>))
regards!!
I've written two little more functions for personal purposes:
watermark() and insertText()
The former is to insert a watermark over a photo/image, like:
$image->watermark(path_to_the_overlay_image): accepts gif, jpeg, jpg and png and is chainable
The latter is to insert a given text into the image:
insertText($text,$hAlign,$vAlign,$hMargin,$vMargin,$fixX,$fixY,$fontFilePath,$fontSize,$angle,$rgb=array(0,0,0))
I thought the original author could improve and insert these features in the default package...if so, i'll be glad to send the file...
:>))
regards!!
______________________________________
Junior
df9.com.br
Linux Registered User #364954
GNU/Linux: together we're ready!
Junior
df9.com.br
Linux Registered User #364954
GNU/Linux: together we're ready!
#5
Posted 21 July 2009 - 06:09 AM
My 2 cents.
I prefer ImageMagick because GD2 consumes too much memory working with large images, it can be an issue on some shared hostings.
But i stuck with Image extension for ImageMagick in windows environment
I prefer ImageMagick because GD2 consumes too much memory working with large images, it can be an issue on some shared hostings.
But i stuck with Image extension for ImageMagick in windows environment
#6
Posted 14 August 2009 - 01:02 AM
scoob.junior, on 19 July 2009 - 05:08 PM, said:
Hey, very good job!
I've written two little more functions for personal purposes:
watermark() and insertText()
The former is to insert a watermark over a photo/image, like:
$image->watermark(path_to_the_overlay_image): accepts gif, jpeg, jpg and png and is chainable
The latter is to insert a given text into the image:
insertText($text,$hAlign,$vAlign,$hMargin,$vMargin,$fixX,$fixY,$fontFilePath,$fontSize,$angle,$rgb=array(0,0,0))
I thought the original author could improve and insert these features in the default package...if so, i'll be glad to send the file...
:>))
regards!!
I've written two little more functions for personal purposes:
watermark() and insertText()
The former is to insert a watermark over a photo/image, like:
$image->watermark(path_to_the_overlay_image): accepts gif, jpeg, jpg and png and is chainable
The latter is to insert a given text into the image:
insertText($text,$hAlign,$vAlign,$hMargin,$vMargin,$fixX,$fixY,$fontFilePath,$fontSize,$angle,$rgb=array(0,0,0))
I thought the original author could improve and insert these features in the default package...if so, i'll be glad to send the file...
:>))
regards!!
great job, I would like to improve and insert these features in the default package.
my email: cuiming2355_cn@hotmail.com
#9
Posted 25 April 2013 - 03:57 AM
This is an old topic, but why is the watermark function not available yet?
#10
Posted 25 April 2013 - 05:20 AM
Some time ago(because of need in additional functionality), I have made fork of this extension: https://bitbucket.or...bodya/yii-image
watermark is already avaliable there.
watermark is already avaliable there.
#11
Posted 26 April 2013 - 12:18 PM
Bogdan Savluk, on 25 April 2013 - 05:20 AM, said:
Some time ago(because of need in additional functionality), I have made fork of this extension: https://bitbucket.or...bodya/yii-image
watermark is already avaliable there.
watermark is already avaliable there.
Awesome, I will check out this fork, tnx a lot!
Share this topic:
Page 1 of 1

Help















