PHP
Random thoughts
Random thoughts
Random thoughts
Random thoughts
Adding a gradient to an image using Imagick
Imagick allows you to easily add a gradient to an image.
// The gradient
$gradient = new Imagick();
// Create new Image with size x, size y, "gradient start - gradient end"
$gradient->newPseudoImage( 930,20,"gradient:transparent-#838383");
// $im would be the canvas or image you loaded before. This merges both, the image gradient at position x, position y
$im->compositeImage( $gradient, imagick::COMPOSITE_OVER, 0, 240 );
This can easily be transformed to create a reflection, by mirroring the original and applying the the gradient to the mirrored image.
Cheers
Alexander
263
// The gradient
$gradient = new Imagick();
// Create new Image with size x, size y, "gradient start - gradient end"
$gradient->newPseudoImage( 930,20,"gradient:transparent-#838383");
// $im would be the canvas or image you loaded before. This merges both, the image gradient at position x, position y
$im->compositeImage( $gradient, imagick::COMPOSITE_OVER, 0, 240 );
This can easily be transformed to create a reflection, by mirroring the original and applying the the gradient to the mirrored image.
Cheers
Alexander
portalZINE DEV > Development > PHP
Friday, August 27, 2010 - Random thoughts
Magento 1.0 to 1.3 to 1.4 - horrors
If you plan to upgrade from Magento 1.0 to 1.4, be prepared for some heavy lifting. Just finished a client upgrade who didnt do any upgrades for over 2 years. Not doing that ever again.
Might even stick with 1.3, as many of the old modules behave badly under 1.4.
Magento is a massive solution, but community support via Varien sucks big time. So anybody that is not ready to dig into code, should use another solution or find someone that can help.
Cheers
1049
Might even stick with 1.3, as many of the old modules behave badly under 1.4.
Magento is a massive solution, but community support via Varien sucks big time. So anybody that is not ready to dig into code, should use another solution or find someone that can help.
Cheers
portalZINE > Random thoughts
Thursday, June 17, 2010 - Random thoughts
E3 envy and my 4-hour work week plan
Really need to find some gaming time again. really hoped for Diablo 3 this year, but as we all know that was moved to next year ;)
I should be thankful to Blizzard, as that keeps me focused on my work LOL
A neighbour took me to the side yesterday and told me that live is to short to only focus on work. Yeah well still working on my 4-hour Work week plan (Timothy Ferriss) ;)
My workload has been intense in the past months and not sure how long I really want to keep that up any more.
That is what E3 and summer does to me LOL
Take care and dont work to much.
1005
I should be thankful to Blizzard, as that keeps me focused on my work LOL
A neighbour took me to the side yesterday and told me that live is to short to only focus on work. Yeah well still working on my 4-hour Work week plan (Timothy Ferriss) ;)
My workload has been intense in the past months and not sure how long I really want to keep that up any more.
That is what E3 and summer does to me LOL
Take care and dont work to much.
portalZINE > Random thoughts
Thursday, June 17, 2010 - Random thoughts
Thanks for your comments ...
Thanks for all the nice comments over at the Horizontal Accordion section.
Really hope to be able to find some time soon, to deal with some much needed upgrades to the script. I fixed the anti-aliasing problem in IE on the example page, just make sure to add a background colour to the container ;)
I have been busy with many things over at portalZINE TV and a huge upgrade for a client. Also preparing new distribution channels right now for a mobile platform and satellite :) Yeah sounds huge, but still has to deliver financially :) Seems to be my karma, always giving more than I get back LOL
Enjoying summer and parts of the WM, not a big soccer fan :)
Cheers to you all and talk to you soon.
999
Really hope to be able to find some time soon, to deal with some much needed upgrades to the script. I fixed the anti-aliasing problem in IE on the example page, just make sure to add a background colour to the container ;)
I have been busy with many things over at portalZINE TV and a huge upgrade for a client. Also preparing new distribution channels right now for a mobile platform and satellite :) Yeah sounds huge, but still has to deliver financially :) Seems to be my karma, always giving more than I get back LOL
Enjoying summer and parts of the WM, not a big soccer fan :)
Cheers to you all and talk to you soon.
portalZINE > Random thoughts
Thursday, June 17, 2010 - Random thoughts
The Easter Egg Hunt and other things
I will be really busy for the coming 3-5 weeks, so anyone requesting support by email will have to be patient.
Also opening up the cubicFUSION website, which will need some attention as well :)
Enjoy your upcoming Easter Egg Hunt ;)
Cheers
Alexander
2219
Also opening up the cubicFUSION website, which will need some attention as well :)
Enjoy your upcoming Easter Egg Hunt ;)
Cheers
Alexander
portalZINE > Random thoughts
Tuesday, March 30, 2010 - 

pzTV: Ich mag ein YouTube-Video. -- Mit dem Helicopter...

