Move an image inside an image control

Discussion in 'Questions (Windows Mobile)' started by Cableguy, May 14, 2007.

  1. Cableguy

    Cableguy Expert Licensed User

    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?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Can you explain a little bit further what you are trying to do :confused:
     
  3. Cableguy

    Cableguy Expert Licensed User

    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...
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    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:

  5. Cableguy

    Cableguy Expert Licensed User

    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?
     
  6. Erel

    Erel Administrator Staff Member Licensed User

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