Results 1 to 6 of 6

Thread: Create thumbnail of images in Windows Phone 7

  1. #1
    Join Date
    Aug 2010
    Posts
    63

    Create thumbnail of images in Windows Phone 7

    I have the Windows Phone 7 with me and the thing with me is that I want to have the Thumbnails on the same. Mind it I want to have the Thumbnails of the images and the photos that are present inside of the Windows Phone 7. For this I do not want to have any sort of third party application doing this thing for me. I want to have the thumbnails that can be of reduced size. Not only reduced in terms of appearance, I just want it to be reduced in the file size. Please suggest me some valuable solutions. I really want to have the this thing for me. Thanks in advance.

  2. #2
    Join Date
    Aug 2010
    Posts
    129

    Re: Create thumbnail of images in Windows Phone 7

    Well I do not think that you will have to go that long, well I do not know if you are aware of this thing, called System.Drawing, I am sure that this thing will really help you to get the thing under your belt. You can just try this and see if that can really help you obtain the solution. The System.Drawing namespace not only provides access to GDI but in addition to that also provides the basic graphics functionality. Hope that really help you. Thanks.

  3. #3
    Join Date
    Nov 2009
    Posts
    4,494

    Re: Create thumbnail of images in Windows Phone 7

    I do not think that can the post from Tamohar is really going to help you to fetch you the solution. I am saying this because while suggesting the same he just missed on the thing that in Windows Phone 7 there is no such thing like System.Drawing. Well the description that he gave was really good and up to the point but the situation get worse since it is no there in the Windows Phone 7. I will for sure try to search for the same and will post if I will get the thing. Till then you can wait for the other colleagues of mine to come up with some more solutions.

  4. #4
    Join Date
    Nov 2009
    Posts
    1,977

    Re: Create thumbnail of images in Windows Phone 7

    You want to have the thumbnail and I think that it will be going to be pretty easy. The way I would do it is to first deliver your image onto an image control in the following manner:
    <Image x:name="MyImage" Width="75" Height="75" Stretch="UniformToFill">
    After that you will be able to get the small display of the image that you want to have a thumbnail of. Here you will be able to make the visualization of the image control onto a writablebitmap. Then after that just accumulate the writablebitmap object to the photo hub or isolated storage.
    WriteableBitmap wb = new WriteableBitmap(75,75);
    wb.Render(this.MyImage,null);
    //here save the new image
    MemoryStream msWrite = new MemoryStream();
    wb.SaveJpeg(msWrite, wb.PixelWidth, wb.PixelHeight, 0, 100);
    msWrite.Seek(0, SeekOrigin.Begin);
    new MediaLibrary().SavePicture(Guid.NewGuid().ToString() + ".jpg", msWrite); //This will save the image to the

  5. #5
    Join Date
    Nov 2009
    Posts
    1,142

    Re: Create thumbnail of images in Windows Phone 7

    Well I have something for you all and I do not think that this could be much successful since I have not tried this before. I hope that it might get work in your case. For you I think that if you want you can use the System.Windows.Media.Imaging namespace. It actually has a BitmapSource class. After that just try generating a new BitmapSource example having the size of the thumbnail and then transferring the images to it. I suppose that it will also allow you for compression, so that you can almost certainly renovate the picture to a .gif so that the footprint size can be reduced.

  6. #6
    Join Date
    Aug 2010
    Posts
    63

    Re: Create thumbnail of images in Windows Phone 7

    Thanks a lot for all the suggestions that you all have given me. I am definitely going to try them and will post if I will find them working for me. I also knew that the System.Drawing is not the thing that is at all present in the newer version of the Windows Phone i.e. Windows Phone 7. Since if that would have been the case then I would have got that all by my own. I should have written that in the very first post of mine. Thanks a lot for of that. I will also wait for other members to come up with further suggestions. Thanks in advanced.

Similar Threads

  1. No Thumbnail Images after Installing Nero 11
    By Akshey in forum Windows Software
    Replies: 10
    Last Post: 11-11-2011, 11:18 AM
  2. How to select several Thumbnail Images in DHTML
    By NGV BalaKrishna in forum Software Development
    Replies: 4
    Last Post: 04-02-2010, 03:59 AM
  3. Project Import converted all Images to Thumbnail
    By Caydien in forum Windows Software
    Replies: 5
    Last Post: 13-01-2010, 07:01 PM
  4. How do I add thumbnail images to folders...?
    By Otilio in forum Operating Systems
    Replies: 3
    Last Post: 15-12-2009, 05:44 PM
  5. To Enlarge Thumbnail Images
    By FlashX in forum Tips & Tweaks
    Replies: 2
    Last Post: 20-03-2009, 02:48 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,559,101.48637 seconds with 17 queries