TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 03-02-2008, 08:37 AM   #1 (permalink)
The Wanderer
 
Join Date: Mar 2008
Posts: 8
Thanks: 0
satimis is on a distinguished road
Default About PHP on blur - alphabet image

Hi folks,


Just start learning PHP on image.

Re blur on image, if I need blurring an alphabet how can I start on alphabet typed on editor instead of googling an alphabet.jpg on Internet to start. Could you please shed me some light? TIA


B.R.
satimis
satimis is offline  
Reply With Quote
Old 03-02-2008, 08:53 AM   #2 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Default

To blur images you can do imagefilter
PHP Code:

 header
("Content-Type: image/jpeg");
 
$file "yourImage.jpg";
 
$im imagecreatefromjpeg($file);
 
imagefilter($imIMG_FILTER_GAUSSIAN_BLUR);
 
imagejpeg($im); 
__________________
VillageIdiot can have my babbies ;d
Orc is offline  
Reply With Quote
Old 03-02-2008, 09:20 AM   #3 (permalink)
The Wanderer
 
Join Date: Mar 2008
Posts: 8
Thanks: 0
satimis is on a distinguished road
Default

Quote:
Originally Posted by Orc View Post
To blur images you can do imagefilter
PHP Code:

 header
("Content-Type: image/jpeg");
 
$file "yourImage.jpg";
 
$im imagecreatefromjpeg($file);
 
imagefilter($imIMG_FILTER_GAUSSIAN_BLUR);
 
imagejpeg($im); 
Thanks for your advice.


I can't resolve how to start if without an image. I don't have alphabet images to start, such as A/a, B/b, etc. images. Unless I find them on Internet. On graphic editing I don't need to have an Alphabet image to start. I create the image on software. On PHP I don't know how to make the image.


B.R.
satimis
satimis is offline  
Reply With Quote
Old 03-02-2008, 09:51 AM   #4 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Default

Quote:
Originally Posted by satimis View Post
Thanks for your advice.


I can't resolve how to start if without an image. I don't have alphabet images to start, such as A/a, B/b, etc. images. Unless I find them on Internet. On graphic editing I don't need to have an Alphabet image to start. I create the image on software. On PHP I don't know how to make the image.


B.R.
satimis
You could make an array of letters, then use a for loop, and loop all the letters through the function imagettfont, and it should display the whole alphabet, just a thought.
__________________
VillageIdiot can have my babbies ;d
Orc is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 05:02 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design