×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    12

    Resizing an image

    Hi Guys,

    Im haveing troublw with this for some reason i just cannot get it to work even though i seen the method in the documentation.. is there a simple example of this anywhere i could look at?

    Thanks

  2. #2
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,796

    Re: Resizing an image

    Quote Originally Posted by IreStep View Post
    Hi Guys,

    Im haveing troublw with this for some reason i just cannot get it to work even though i seen the method in the documentation.. is there a simple example of this anywhere i could look at?

    Thanks
    Hi,

    You can use this for resizing the images

    Code:
    canvas.blit(camera.take_photo(size=(160, 120)))
    or you can also scale directly with blit. This is much faster than resize,

    Code:
    canvas.blit(camera.take_photo(),target=(0,0,176,117),scale=1)
    Best Regards,
    Croozeus
    Pankaj Nathani
    www.croozeus.com

  3. #3
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: Resizing an image

    You might also want to check this article.

  4. #4
    Registered User
    Join Date
    Feb 2008
    Posts
    12

    Re: Resizing an image

    thank you both..

    dont know how i did not see that article

    thanks

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. 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
  3. Image Resizing Issues..
    By mayankkedia in forum Symbian
    Replies: 0
    Last Post: 2006-02-15, 10:17
  4. HELP: Mutable Image to Immutable Image?
    By rj_cybersilver in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2005-03-26, 09:58
  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
  •  
×