-3

I would like to be able to crop an image to a 3:2 ratio and then blur the image.

Is this at all possible with PHP without installing any additional classes, as I am on a shared hosting server?

Thanks!

Olokoo
  • 1,114
  • 3
  • 19
  • 34
  • 1
    Yes, it is possible, but please remember to always use Google first. A query for `image editing with PHP` or `php image resize` / `php image blur` etc. will give you an overview of what the most common tools are. – Pekka Sep 07 '13 at 13:17
  • [Resize image using php Imagemagick](http://stackoverflow.com/q/11401039) / [How to achieve a blur effect in PHP?](http://stackoverflow.com/q/14428257) – Pekka Sep 07 '13 at 13:19
  • Use [WideImage](http://wideimage.sourceforge.net/). – Glavić Sep 07 '13 at 13:19
  • I did use Google and for some reason I had thought that PHP classes could not be run on my Hosting Provider. Sorry, I thought StackOverflow was a place to ask questions and get help from those who have more knowledge than oneself. Thanks for the downvote. – Olokoo Sep 07 '13 at 13:37
  • @Ian34, it is indeed a place to get help, but (in common with many sources on the web) a prior coding effort or prior research is politely expected. It helps to explain what you've done already, even if this was fruitless. And, don't take downvotes personally - they are just a form of communication. – halfer Sep 07 '13 at 13:52

2 Answers2

0

What do you mean by additional classes? Image manipulation with PHP requires GD or Imagemagick. I think most hosts have one of these installed.

0

Yes there is a library called GD Library which will help you to do such stuff.

A pair of extra eyes could help:

Moeed Farooqui
  • 3,604
  • 1
  • 18
  • 23