Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Photo Inspector is an example application on how to capture and process high resolution photos (resolution depends on device hardware).
Branch: master
Failed to load latest commit information.
.nuget Use Nuget Package Restore
PhotoInspectorWP80 Batch update
PhotoInspectorWP81 Batch update
License.txt Updated copyright and license information. Update

Photo Inspector

Photo Inspector is an example application on how to capture and process high resolution photos (resolution depends on device hardware).

Capture a photo and slide your finger on the preview to bring up a loupe to zoom right into pixel perfect details in the photo. Save a lower resolution copy of the photo to the main Photos gallery while retaining the original maximum resolution photo for later use. Share photos as lower resolution copies to online services like Facebook and Twitter.

The example has been developed with Silverlight for Windows Phone devices and tested to work on Lumia devices with Windows Phone 8.1.

This example application is hosted in GitHub:

For more information on implementation, visit Lumia Developer's Library:

1. Usage

This is a simple build-and-run solution. See section 5 for instructions on how to run the application on your Windows Phone 8.1 device.

2. Prerequisites

  • C# basics
  • Windows 8.1
  • Microsoft Visual Studio Express for Windows Phone 2013

3. Project structure and implementation

3.1 Folders

The root folder contains folders for Silverlight 8.1 and Silverlight 8.0 versions of the application, the license information and this file.

Folders for both versions of the application contain:

  • MagnifierApp: Root folder for the implementation files.
  • Assets: Graphic assets like icons and tiles.
  • Pages: Phone application pages.
  • Models: Photo load and save model.
  • Properties: Application property files.
  • Resources: Application resources.
  • Utilities: Utility classes.

3.2 Important files and classes

File Description
Models/PhotoModel.cs Saving and loading photos, current photo tombstoning, storage handling.
Pages/ViewfinderPage.xaml(.cs) Simple viewfinder for capturing photos.
Pages/MagnifierPage.xaml(.cs) Photo preview and touch-to-zoom photo detail inspection loupe.
Pages/PhotosPage.xaml(.cs) Shows photos available for magnifying and re-framing.
Pages/CropPage.xaml(.cs) Allows user to crop the photo. Pan & pinch zoom functionality.
Pages/InfoPage.xaml(.cs) Displays selected EXIF records for current photo.

4. Compatibility

Application works on Windows Phone 8.1. A separate version exists for Windows Phone 8.0.

Tested to work on Nokia Lumia 1520 and Nokia Lumia 630

Developed with Microsoft Visual Studio Express for Windows Phone 2013.

4.2 Known Issues


5. Building, installing, and running the application

5.1 Preparations

Make sure you have the following installed:

  • Windows 8.1
  • Windows Phone SDK 8.1

5.2 Using the WINDOWS PHONE 8 SDK

  1. Open the SLN file: File > Open Project, select the file MagnifierApp.sln
  2. Select the target 'Device' and 'ARM'.
  3. Press F5 to build the project and run it on the device.

5.3 Deploying to Windows Phone 8

Please see official documentation for deploying and testing applications on Windows Phone devices:

6. License

See the license text file delivered with this project:

7. Related documentation

See for more information on the project.

See for information on how to capture and handle high resolution photos for example on Nokia Lumia 1020.

8. Version history

  • 2.0: Project converted to Silverlight 8.1

    • High resolution photos are saved to Camera Roll instead of local storage
    • Photo grid shows all photos from Camera Roll
    • Updated to the latest Nokia Imaging SDK version 1.2.151
  • 1.3: Fourth public release of Photo Inspector

    • Updated to the latest Nokia Imaging SDK version 1.1.177
  • 1.2: Third public release of Photo Inspector

    • Updated to the latest Nokia Imaging SDK
    • Now using Nuget Package Restore for external libraries
  • 1.1: Second public release of Photo Inspector

    • Photos can be cropped, and it's possible to either change the framing again or to revert to the original uncropped photo
    • New photo information page for displaying EXIF information
    • Locally saved photos are displayed on all devices, not just high camera resolution devices
    • Camera and locally saved photos can be accessed from the magnification page
    • Fixed issue where pressing the camera HW button did not capture an image if camera was focusing at the same time
    • Locally saved photos page shows a "reframed" indicator on photos that are crops
    • Also included are a number of other minor changes
  • 1.0: First public release of Photo Inspector

Something went wrong with that request. Please try again.