"GetThumbnailImage" In Pocket PC Developement ?!!

hello ..

i want to use the method getthumbnailimage , but the problems is , it is not available in pocket pc developement , so what is the solution for this problem

i really need an answer for that ..

and for information , i am using VB ..

with my best regard ,,




Answer this question

"GetThumbnailImage" In Pocket PC Developement ?!!

  • Scott Lyon

    Some cameras and/or applications create separate file with ready to use thumbnails, it might be what Resco is using instead of opening actual files.



  • DarrellMerryweather

    It is necessary to unpack entire image to create thumbnail from it and that takes time even though most of unpacked data is thrown away. So I'd have to say that as good as it gets considering CPUs in devices are designed for low power, not for performance. Consider storing thumbnails so you can load them faster next time.



  • VuaCorona

    JPEG images straight from a camera will have a 160x120 JPEG thumbnail embedded in the exif information, that is how apps like Resco and Pocket Phojo are able to display so fast. I don't use .net myself, but this link might be of use:
    http://www.pixvillage.com/blogs/devblog/archive/2005/03/17/159.aspx

  • Alexan

    Easy way: upgrade to NETCF V2.

    Hard way: create native wrapper over Imaging API and P/Invoke into it.



  • narasiman_jayachandran_2b5374

    Hi

    I am using netcf 1.0.So i think opennetcf 2.0 class libraries does not support netcf 1.0.So how can i get GetThumbnailImage.


  • martin_eifert

    hi

    thanks alot for replay guys , the opennetcf really helps me to do it ..

    but i still have a problem ..

    i want to use the thumbnail to make a picture viewer ..

    when i open the picture as thumbnail it takse alot of time as same as opening it at normal size ..

    i know that i saved memroy by opening it as thumbnail, but if will make a thumbnail for pictures in folder , for examble 10 pictures it really takes alot of time ..

    so is there any solution to open more faster ..

    and this is the code i used to open the picture as thumnail :

    Dim M As New System.IO.FileStream("\A.jpg", IO.FileMode.Open)

    PictureBox1.Image = OpenNETCF.Drawing.Imaging.ImageUtils.IBitmapImageToBitmap(OpenNETCF.Drawing.Imaging.ImageUtils.CreateThumbnail(M, New System.Drawing.Size(PictureBox1.Width, PictureBox1.Height)))

    M.Close()

    so , is there any wrong with my code ..

    and thanks alot for replaying ..

    with my best ragards ..



  • RubenPieters

    Indeed. More specifically it's in OpenNETCF.Drawing.Imaging

    See my blog for details



  • GDigrego

    You can use Imaging API. OpenNetcf.org offers managed wrapper for that.



  • Bill API

    thanks Ilya Tumanov for your replay and help ..

    but if you will see some programs like Resco photo viewer ..

    if i opened a folder full with pictures for first time, the thumbnails come so fast , with no late ..

    maybe i want to compare my self with a company program ..

    how ever thanks alot ..

    if you found somthing new ,, i am waiting

    regards ,,



  • "GetThumbnailImage" In Pocket PC Developement ?!!