Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Move an image inside an image control


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-14-2007, 04:05 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,104
Default Move an image inside an image control

Hi,

Is it possible to move an image inside an image control?

I thinkink about creating an app to get a file and crop or resize to a standar size... can this be done with b4ppc, wich dll will i need to use?
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD
Reply With Quote
  #2 (permalink)  
Old 05-14-2007, 05:39 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,807
Default

Can you explain a little bit further what you are trying to do
Reply With Quote
  #3 (permalink)  
Old 05-14-2007, 05:49 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,104
Default

Erel,

Im planning Pairs v2.0 and it will consist on 2 seperate app (I Hope), the game itself and an image colector app to create embeded image files from individual ones...I would also like to give the possability to, From a larger file, say 100x100 to select an 40x40 area either by moving a "target" or the visible part of the image itself...and then crop the image to that area and save it either to individual file or to embeded file...
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD
Reply With Quote
  #4 (permalink)  
Old 05-14-2007, 07:18 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,807
Default

Attached is an example of using the ImageLib library to draw part of an image on the form or on a bitmap.

You could save any image using the ImageLibEx library.
Attached Files
File Type: zip ImageLib.zip (4.0 KB, 42 views)
Reply With Quote
  #5 (permalink)  
Old 05-14-2007, 07:36 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,104
Default

Thanks Erel,

Your example was right on target...
As I understand we can save to file an image created though formlib, with bitmap(bmp) format, right?
will it be possible to save to other file formats?
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD
Reply With Quote
  #6 (permalink)  
Old 05-14-2007, 07:40 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,807
Default

The .Net CF 2.0 supports only the Bitmap format.
Maybe other formats will be available in the future.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
draw line into image control giannimaione Questions & Help Needed 4 06-03-2008 04:40 PM
Image scroling luigino Questions & Help Needed 2 01-21-2008 11:51 AM
Drawing on image control derez Basic4ppc Wishlist 10 01-16-2008 04:51 PM
Control IMAGE Joserra Spanish Forum 5 11-14-2007 05:58 PM
Image Button alfcen Questions & Help Needed 6 10-18-2007 02:43 PM


All times are GMT. The time now is 04:35 PM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0