c# - WP multiphotochooser projects returns only small size image -
c# - WP multiphotochooser projects returns only small size image -
i trying utilize multiphotochooser wp8, , found on https://multiphotochooser.codeplex.com/. project good, there's 1 problem though.
after submitting selected images, shows list of images little , cropped 1:1 ratio. create event move image page next item click listener:
private void lls_photolist_selectionchanged(object sender, selectionchangedeventargs e) { if (e.addeditems.count > 0) { phoneapplicationservice.current.state["myobject"] = e; //i used bring image next view. navigationservice.navigate(new uri("/viewimage.xaml", urikind.relative)); } } and in viewimage.xaml create display:
var k = phoneapplicationservice.current.state["myobject"]; selectionchangedeventargs obj = (selectionchangedeventargs)k; bitmapimage bmi = ((pictureitem)obj.addeditems[0]).getmyimage(); //getmyimage() method added pictureitem class homecoming bitmapimage. displayimage.source = bmi; but image displayed on displayimage var small, it's 99 x 99 while original file in gallery bout 1024 x 768 pixel.
i don't know if can utilize e track original image display big image not cropped one, or anyway create project returns , displays full-size images instead of cropped ones on longlistselector
thank time.
c# windows-phone-8
Comments
Post a Comment