Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) 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: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
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 - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #2 (permalink)  
Old 05-14-2007, 05:39 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
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: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
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 - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #4 (permalink)  
Old 05-14-2007, 07:18 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
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, 75 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: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
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 - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #6 (permalink)  
Old 05-14-2007, 07:40 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
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 Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Image from URL? N1c0_ds Questions (Windows Mobile) 1 10-13-2008 08:35 PM
draw line into image control giannimaione Questions (Windows Mobile) 4 06-03-2008 04:40 PM
Image scroling luigino Questions (Windows Mobile) 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


All times are GMT. The time now is 01:56 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0