imagelibexdevice SaveImage pb

Discussion in 'Questions (Windows Mobile)' started by alea46, Mar 15, 2009.

  1. alea46

    alea46 Member Licensed User

    HI,
    For my project, I use imagelibexdevice library.
    With Klauss and agraham Help (thanks), program run nice and quick. But a problem is still occur : bmpDummy.SaveImage(FileNameTB.Text,"J") not works and returns me an error "NotsupportedException".
    To try the code, i use Klauss program draw (http://www.basic4ppc.com/forum/share-your-creations/3945-draw-program.html).
    The same error occurs.

    I don't understand what is the problem.
    :sign0085:
    My device is Asus Mypal 730
     
  2. klaus

    klaus Expert Licensed User

    What Operating system do you have ?

    If it's WM 2003, it supports only saving bitmaps !

    Best regards.
     
  3. agraham

    agraham Expert Licensed User

    Is the error on device or desktop?

    If on the device do you have .NET CF 2.0 installed? Bitmap.SaveImage is not available on .NET CF 1.0 but if .NET 2,0 was missing I would have thought the library would not load.

    If on the device are sure you are using "J" for the format. On early devices "J", "G" and "P" are not available and will give this error.

    It's much easier than guessing if you post a small example of the actual code that does not work :(
     
  4. alea46

    alea46 Member Licensed User

    Thank for Help!.
    Klauss, you win all my congratulations : The problem occurs because Wm2003 on device.
    For desktop, program runs good, but with device (Asus A730 mypal, under Wm2003SE) program fails.
    If I change parameter for saveimage, program runs good under WM2003
    under WM2003, change bmpDummy.SaveImage(name,"J") by BmpDummy.SaveImage(name,"B"),

    Program run, but too slowly for its usage.:sign0161:

    I must try to save only parameters, not graphs and redraws them on image.:BangHead:

    I go to learn Arrays...:sign0060:
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice