Welcome Guest, Not a member yet? Register   Sign In
How To create Blur Image In Codeigniter
#1

I Have Images In Server .. Based On Server images I want to create a Blur Image .
Example :
My Image Server Path Is : www.xyz.com/localposts/abc.jpg
Now Based On this This Original Image I want to create The One Blur Image .. And Store Into Server Another Folder With The Same File Name .. How Is It ..
Thank
Manikanta
Reply
#2

(02-10-2016, 03:35 AM)Chandini Wrote: I Have Images In Server .. Based On Server images I want to create a Blur Image .
Example :
My Image Server Path Is : www.xyz.com/localposts/abc.jpg
Now Based On this  This Original Image  I want to create The One Blur Image .. And Store Into  Server Another Folder With The Same File Name .. How Is It ..
Thank


PHP NET
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

A really insightful and complete answer from InsiteFX. Smile
Reply
#4

I want to change the server image into blur image .. and stored in to server in another folder ... How ..?
Example : this is My image Path : http://www.xyz.com/localposts/abc.jpg
Based on Image Path (Image) I want to change the that image into Blur Image .. And stored In another Folder .. Got It .
Thanks
Manikanta
Reply
#5

(This post was last modified: 02-10-2016, 06:16 AM by PaulD. Edit Reason: PPS added )

(02-10-2016, 05:00 AM)InsiteFX Wrote:
(02-10-2016, 03:35 AM)Chandini Wrote: I Have Images In Server .. Based On Server images I want to create a Blur Image .
Example :
My Image Server Path Is : www.xyz.com/localposts/abc.jpg
Now Based On this  This Original Image  I want to create The One Blur Image .. And Store Into  Server Another Folder With The Same File Name .. How Is It ..
Thank


PHP NET

LOL - That is the Turing Machine answer for all questions.

@Chandini
That is nothing to do with CI really. You can use Image Magik (if your server set up allows) to read the image, do some alterations, and save the file wherever you want, then unlink the original file to delete it, or replace it, or just make a copy.
http://pecl.php.net/package/imagick
I used it recently and although it is a pain to get started with it once you get the hang of it, it is really powerful, although I warn you that users can upload things that give strange results sometimes.

Best wishes,

Paul.

PS Sorry: this was the one I used http://www.imagemagick.org/Usage/

PPS Just realised the link provided by InsiteFX is not just to PHP but to a relevant link, not as amusing now :-(
Reply
#6

What have you tried yourself? Did you read the link @InsiteFX gave you?

Image manipulation inside Codeigniter is very limited as the documentation stated https://www.codeigniter.com/userguide3/l...e_lib.html

Quote:CodeIgniter’s Image Manipulation class lets you perform the following actions:

Image Resizing
Thumbnail Creation
Image Cropping
Image Rotating
Image Watermarking

You will need some 3rd party tool like image magick etc
Reply




Theme © iAndrew 2016 - Forum software by © MyBB