Isn't PIL best suited for things like this?
The resize function should do what you're looking for:
http://www.pythonware.com/library/pil/handbook/image.htm
On Wed, Apr 2, 2008 at 6:59 AM, <[EMAIL PROTECTED]> wrote:
> On Apr 1, 9:44 pm, Jimmy <[EMAIL PROTECTED]> wrote:
> > Hi, everyone
> >
> >
On Dec 24, 2007 7:53 AM, Carl K <[EMAIL PROTECTED]> wrote:
> I need to take the take the pdf output from reportlab and create a preview
> image
> for a web page. so png or something. I am sure ghostscript will be involved.
> I am guessing PIL or ImageMagic ?
>
> all sugestions welcome.
>
> Carl
On Dec 17, 2007 9:17 PM, PatrickMinnesota <[EMAIL PROTECTED]> wrote:
> Yep, I'm new to the language, it's been a couple of months.
>
> I opted for gvim and console window for developing on a Windows XP
> box. I'm not a huge fan of IDEs except for when I need some
> debugging. I've done my googlin
On Dec 16, 2007 7:26 PM, Zentrader <[EMAIL PROTECTED]> wrote:
> Sorry, I read that backwards. I do it the opposite of you. Anyway a
> google for "html to pdf python" turns up a lot of hits. Again, no
> reason to reinvent the wheel.
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
The grid method of these widgets returns None. When you say something like:
ent = Entry(root, fg = '#3a3a3a', bg = 'white', relief =
'groove').grid(row = 0, padx = 3, pady = 3)
You're actually assigning the value of the last method on the right
hand side (in this case, grid) to the variable on th
On 11 Dec 2007 04:14:09 GMT, Stargaming <[EMAIL PROTECTED]> wrote:
> On Mon, 10 Dec 2007 16:54:08 -0800, mosi wrote:
>
> > Python matrices are usually defined with numpy scipy array or similar.
> > e.g.
> matrix1 = [[1, 2], [3, 4], [5, 6]]
> > I would like to have easier way of defining matric
Shawn,
First of all, next time try and isolate the problem yourself and send
a short snippet of code demonstrating the behavior you're having
trouble with. This makes it easier for other people to understand what
is going on and help you in a more focused way.
On Dec 5, 2007 2:43 AM, Shawn Minisa