Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User stadin's Avatar
    Join Date
    Jun 2007
    Posts
    19
    I'm not sure if this is the right place to ask. I want to make server page written in python, or maybe a python app, to scale images on the mobile phone and send them along with some text to my blog site. I'd prefer jpeg for the images.

    Is it possible to create/convert jpeg files via s60 (3rd) imaging api and python? Or is it possible to get PIL (python imagin library http://www.pythonware.com/products/pil/) running on s60? It think it should work pythonwise but I'm uncertain if the C code is needed for the basic lib to run.

    Ben

  2. #2
    Nokia Developer Expert jhnwkmn's Avatar
    Join Date
    Mar 2003
    Posts
    457
    Quote Originally Posted by stadin
    I'm not sure if this is the right place to ask.
    It's ok to ask here, but if you are looking for real Python experts then you have a better chance of finding them in the Python Forum

    In any case it's worthwhile, when doing anything even slightly exotic, to first try it out using a regular Python script or directly from within the Python interactive console, and only when things have been confirmed to work, to try it under Apache. The environment is similar but not identical.
    I want to make server page written in python, or maybe a python app, to scale images on the mobile phone and send them along with some text to my blog site. I'd prefer jpeg for the images. Is it possible to create/convert jpeg files via s60 (3rd) imaging api and python?
    I believe you should be able to do that using the Image class of PyS60.

    However, I have a vague recollection that the image conversion, at least at some point, was implemented using some native Symbian/S60 functionality that used an extraordinary amount of memory for the task, and thus the Image class could not really be used under Apache. But that was a long time ago and in a S60v2 context, so things may have changed and in any case the devices have more memory now.
    Or is it possible to get PIL (python imagin library http://www.pythonware.com/products/pil/) running on s60? It think it should work pythonwise but I'm uncertain if the C code is needed for the basic lib to run.
    I'm not aware of PIL having been ported to S60, but it's fair to say that pretty much anything can be ported if needed. I don't know, but I would expect that some C code would have to be ported as well.

    Johan

Similar Threads

  1. Opening a JPEG Image
    By ummarbhutta in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2007-02-15, 06:34
  2. Image Conversion
    By ckt in forum Symbian C++
    Replies: 5
    Last Post: 2007-02-07, 12:50
  3. how to cut some part of Image
    By mshouab in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-08-04, 09:05
  4. Image conversion utility in Series 60 3rd Edition SDK Beta
    By waelali in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2006-03-03, 17:23
  5. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved