Re: [Tutor] question about manipulate images!

2011-01-17 Thread Elwin Estle


--- On Sun, 1/16/11, zhengqing gan zhengqing...@gmail.com wrote:

 From: zhengqing gan zhengqing...@gmail.com
 Subject: [Tutor] question about manipulate images!
 To: tutor@python.org
 Date: Sunday, January 16, 2011, 11:37 PM
 Hi, All:
      I have a question about
 manipulating images.
      If I have a image, is there a kind
 of algorithm to convert it
 into kind of Iphone icon style? part transparent,
 gradient
      Thanks!

You might be better off using a program like Photoshop, The Gimp, or perhaps 
even Inkscape for this.


  
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] question about manipulate images!

2011-01-17 Thread Alan Gauld

zhengqing gan zhengqing...@gmail.com wrote

I have a question about manipulating images.


In Python that usually translates to use PIL...


If I have a image, is there a kind of algorithm to convert it
into kind of Iphone icon style? part transparent, gradient


PIL can do most of that but you will need to understand 
exactly which transformations you need to apply which will 
require some background research on your part.


wikipedia is always a good starting point.

HTH

--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/


___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] question about manipulate images!

2011-01-17 Thread zhengqing gan
Hi,
   Thanks for the reply.
   But I found that there are some website which can convert images
into iphone icon style images, there should be an kind of algorithm to
manipulate.
   Thanks!


On Mon, Jan 17, 2011 at 3:33 AM, Elwin Estle chrysalis_reb...@yahoo.com wrote:


 --- On Sun, 1/16/11, zhengqing gan zhengqing...@gmail.com wrote:

 From: zhengqing gan zhengqing...@gmail.com
 Subject: [Tutor] question about manipulate images!
 To: tutor@python.org
 Date: Sunday, January 16, 2011, 11:37 PM
 Hi, All:
      I have a question about
 manipulating images.
      If I have a image, is there a kind
 of algorithm to convert it
 into kind of Iphone icon style? part transparent,
 gradient
      Thanks!

 You might be better off using a program like Photoshop, The Gimp, or perhaps 
 even Inkscape for this.




___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] question about manipulate images!

2011-01-17 Thread Eduardo Vieira
Hi. Try to find a tutorial on the steps to achieve such effect in a graphic
program. Then map it to the scrpting steps to do the same with pil, python
for gimp, for inkscape or simply Imagemagick.

On 2011-01-17 8:37 AM, zhengqing gan zhengqing...@gmail.com wrote:

Hi,
  Thanks for the reply.
  But I found that there are some website which can convert images
into iphone icon style images, there should be an kind of algorithm to
manipulate.
  Thanks!



On Mon, Jan 17, 2011 at 3:33 AM, Elwin Estle chrysalis_reb...@yahoo.com
wrote:


 --- On Sun,...
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor