You Are Here:

Community: Developer Discussion Boards

#1 Old canvas.blit() problem - scaling does not go together with picture masks - 2008-06-29, 18:06

Join Date: Jun 2008
Posts: 12
Zamoth_bg
Offline
Registered User
Is there anyway I can scale .png files and the same time to get to use masks? (For the canvas to display my transparent pixels transparently. ) If it is not possible can I at least make the background match the color of the transparent pixels(which looks to be black.)
Reply With Quote

#2 Old Re: canvas.blit() problem - scaling does not go together with picture masks - 2008-06-29, 20:34

Join Date: Feb 2008
Posts: 25
Location: Moscow Russia
Send a message via ICQ to Versoul Send a message via Skype™ to Versoul
Versoul
Offline
Registered User
blit image transparently
Code:
.blit(img,target=((0,40),(176,60)),img_mask)
img_mask must be black and white. you can create mask when your program running
Reply With Quote

#3 Old Re: canvas.blit() problem - scaling does not go together with picture masks - 2008-06-29, 21:40

Join Date: Jun 2008
Posts: 12
Zamoth_bg
Offline
Registered User
It says that scaling and masking is not possible at the same time.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
picture messages AliNaqvi Smart Messaging 2 2006-05-10 13:43
Still problem in sending picture naoriya General Messaging 10 2004-10-02 06:18
Problem in sending picture ! naoriya General Messaging 1 2002-09-30 07:12
Picture Message to 3310 ERROR belgiozen Smart Messaging 1 2002-07-17 11:57
PJava runtime problem within Nokia 9210, Hrlp~! Nokia_Archive PersonalJava 1 2002-05-28 14:15

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia