TASSOGRAPHY

Photography and More
by Ben Vincent
TransparentPadder

Share On FacebookShare On Facebook
 
Ben's Blog (71)Ben's Blog (71)
Development (16)Development (16)
Lisa's Blog (6)Lisa's Blog (6)
 
Show All (94)Show All (94)
 
Jun 2010 (4)Jun 2010 (4)
May 2010 (2)May 2010 (2)
Apr 2010 (7)Apr 2010 (7)
Mar 2010 (5)Mar 2010 (5)
Feb 2010 (1)Feb 2010 (1)
Jan 2010 (3)Jan 2010 (3)
Nov 2009 (8)Nov 2009 (8)
Oct 2009 (4)Oct 2009 (4)
Sep 2009 (4)Sep 2009 (4)
Jul 2009 (6)Jul 2009 (6)
Jun 2009 (5)Jun 2009 (5)
May 2009 (7)May 2009 (7)
Mar 2009 (1)Mar 2009 (1)
Feb 2009 (5)Feb 2009 (5)
Jan 2009 (7)Jan 2009 (7)
Dec 2008 (6)Dec 2008 (6)
Oct 2008 (3)Oct 2008 (3)
Sep 2008 (3)Sep 2008 (3)
Aug 2008 (9)Aug 2008 (9)
Jul 2008 (3)Jul 2008 (3)
Jun 2008 (1)Jun 2008 (1)
 
Show All (94)Show All (94)
 
RSS & Atom FeedsRSS & Atom Feeds




TransparentPadder
Home Job Runner Image Usage Tracker Image Blog   |   Highlights   |   Photography   |   Contact   |   About    Atom & RSS Feeds  

Fotofly PhotoViewer is now available on CodePlex by Ben Vincent

This week I published onto Codeplex my Silverlight PhotoViewer, my third Open Source Project. Using my Fotofly metadata library, this reusable control displays the photo, people regions and a map of the location. You can use it on your own site to light up all that metadata locked in the file.

Here’s what the control looks like. The design is pretty simple, with the icons on the left giving you access to different views.

Fotofly PhotoViewer

The People and Map Views

Clicking on the icons on the left gives you two further views. The first uses the Windows Live Photo Gallery people data to highlight where people are in the image. The second uses the GPS coordinates embedded in the photo to draw the location using Bing Maps Silverlight SDK.

Fotofly PhotoViewer, people view Fotofly PhotoViewer, map view

(People View)

(Map View)

So what’s on Codeplex?

The project on Codeplex consists of a single Visual Studio Solution containing three projects:

  • Fotofly.PhotoViewer
    • Silverlight Class Library
    • This is the core of the project and the part you’ll want to copy into your own solution. It consists of six UserControls that draw the various parts of the application. The one you’ll need to get started is PhotoPanel which provides methods and properties to control what is displayed.
    • The idea is that you build your own Silverlight application that handles the fetching of metadata and then pass that into the PhotoViewer. The other two projects are a simple examples of how to do this.
  • Fotofly.PhotoViewer.SilverlightExample
    • Silverlight Application
    • This is an example Silverlight application that calls the webservice hosted by the example website to retrieve the metadata for the image. It then instantiates the PhotoViewer.PhotoPanel and passes in all the data it needs.
  • Fotofly.PhotoViewer.WebsiteExample
    • ASP.Net Web Application
    • This is an example website that you can copy to host the PhotoViewer. It consists of two parts; A sample webpage that simply renders the Silverlight Object. And a sample webservice that is used to transfer the metadata to Silverlight.

 

Can’t get Bing Maps to Work?

To use the Bing Maps SDK you need your own application ID. You can get one from here. You’ll need to add the key to the BingConfig.resx in the SilverlightExample project to get the map working.

 

How to get started

I’ve tried to document the code as much as possible, so your best bet is to dive right in and play with the code. And of course, send me feedback on bugs, suggestions etc.

 

You can download the Fotofly PhotoViewer from http://fotoflyphotoviewer.codeplex.com.


Posted: Sun, 7 Mar 2010, 02:14:12 GMT Updated: Sun, 7 Mar 2010, 02:18:21 GMT by Ben Vincent
Category: Development
Tags: Fotofly, Silverlight, Windows Live Photo Gallery, Bing


Fotofly v0.5 now available on Codeplex by Ben Vincent
I’ve just published v0.5 of Fotofly on Codeplex. This new version includes the first batch of bug fixes as a result of community feedback. Additionally I’ve started the work to expand the code to deal with multiple GPS sources (exif and xmp). This will be the main focus for v0.6 which I hope to finish sometime this week. I also spent a little time creating a logo.   [Read More]

Posted: Sun, 14 Feb 2010, 10:55:19 GMT Updated: Sun, 14 Feb 2010, 21:55:32 GMT by Ben Vincent


Getting Started with Fotofly by Ben Vincent
It’s been about two months since I posted Fotofly on Codeplex and I’ve had plenty of feedback and it’s been download over 100 times! What I haven’t written is a simple introduction on how to use the library. So that’s the aim of this blog. Step 1 – Download the Library First you need to download the DLL (or download the source code and build it yourself): http://fotofly.codeplex.com/Release/ProjectReleases.aspx Follow this link to download the DLL and save it somewhere you can reference it from your Visual Studio project.   [Read More]

Posted: Thu, 7 Jan 2010, 07:31:40 GMT Updated: Thu, 7 Jan 2010, 07:33:16 GMT by Ben Vincent


When and how to use the right BitmapCacheOption setting by Ben Vincent
I keep stumbling across the consequences of changing which BitmapCacheOption I use. Despite the fact that metadata in a file isn’t really that big in the grand scheme of things, changing which caching option you use can have annoying consequences. The two typical issues I run into are: running of our memory when process lots of files or not having any data to work with. Let’s look at the code:   [Read More]

Posted: Sun, 8 Nov 2009, 09:25:51 GMT Updated: Sun, 8 Nov 2009, 10:42:19 GMT by Ben Vincent


Reading Geotagging in Photos Using Windows Imaging Component by Ben Vincent
In this blog I’m going to explain how Geotagging metadata can be read and written using Windows Imaging Component. First lets look at all the queries. These are the common ones, there are plenty more but I have not found any immediate need to use them.   [Read More]

Posted: Sat, 7 Nov 2009, 01:32:35 GMT Updated: Sat, 7 Nov 2009, 01:36:44 GMT by Ben Vincent


Fotofly v0.1 available for Download on Codeplex by Ben Vincent
After several years of evolving my photo metadata code I’m finally ready to put it online. Being the nice corporate citizen that I am, I’m using CodePlex and you can find Fotofly here for download. My somewhat lofty description of the project is: “A comprehensive C# library for reading, manipulating and writing metadata stored in jpg photos using WPF and the Windows Imaging Component. Includes support for Windows Live Photo Gallery People Tags, GPS Coordinates and most EXIF, XMP & IPTC properties.” Hopefully I’ll get lots of downloads and feedback to help improve it further.     [Read More]

Posted: Fri, 6 Nov 2009, 09:04:11 GMT Updated: Fri, 6 Nov 2009, 09:07:15 GMT by Ben Vincent


Reading and Creating Exif Rationals by Ben Vincent
Quite why Jeida who created Exif decided to use Rationals is beyond me but they did so you have to work with them if you’re playing with jpg metadata. In this blog post I’ll share my Rational class so you don’t have to go through all the pain I went through in creating it. It’s amusingly short now I look at it here but it took way too long to work it out. The class has two constructors, one for the value you’ve retrieved from BitmapMetadata, the second when you’re creating your own rationals.   [Read More]

Posted: Fri, 6 Nov 2009, 05:51:43 GMT Updated: Fri, 6 Nov 2009, 09:05:23 GMT by Ben Vincent


Basic Editing of Photo Metadata Using Windows Imaging Component by Ben Vincent
In my previous posts I’ve provided examples on using Windows Imaging Component to Read & Write jpg metadata. In this post I’ll explain how to use ContainsQuery, GetQuery, SetQuery and RemoveQuery. As an added bonus I’m going to use the IPTC address fields as my example. Whilst BitmapMetadata does provide some standard properties like Subject and Title, it is far from comprehensive.   [Read More]

Posted: Thu, 5 Nov 2009, 05:09:10 GMT Updated: Thu, 5 Nov 2009, 05:25:28 GMT by Ben Vincent


Writing Photo Metadata Using Windows Imaging Component by Ben Vincent
In this blog I’m going to build on my previous posting on Reading Metadata and explain how to write metadata stored in a jpg file using Windows Imaging Component. You can find all my blogs on Windows Imaging Component here. If you want to change any of the metadata, the first thing you have to do is make sure there’s room for your changes. This is done by adding padding to the metadata.   [Read More]

Posted: Wed, 4 Nov 2009, 05:06:53 GMT Updated: Wed, 4 Nov 2009, 05:42:37 GMT by Ben Vincent


Reading Photo Metadata Using Windows Imaging Component by Ben Vincent
I still see a lot of questions on the Internet and at work on how to read (& write) metadata in Photos. There are plenty of examples out there but they all appear to have some pitfalls. To be quite honest, the code I’ve been using for a number of years now is mature enough that it solves almost all the problems I’ve seen. This blog is the first in a series that document how to read (this blog), write and manipulate photo metadata.   [Read More]

Posted: Tue, 3 Nov 2009, 07:37:33 GMT Updated: Wed, 4 Nov 2009, 05:42:15 GMT by Ben Vincent


TransparentPadder TransparentPadder TransparentPadder

Tweet  Ben - Cool! A nice end to the week, my mum was waiting for me in St Louis, she kept it a secret!

(Updated: Fri, 30 Jul 2010, 23:10:30)

Alcatraz . American Express . Amusing Photos . ASP.Net MVC . Australia . Bing . Blue Angels . BMi . Breathe Magazine . British Food . British Virgin Islands . California Highway Patrol . Camping . Canada . Christmas . Christmas Tree . Cleaner Shrimp . codeplex . Cooking . Coral Sea . Diving . Dragonlance . Engagement . Exif . Expedia . Facebook . Fish Tank . Flying . Food . Fotofly . Geotagging . Golden Gate National Recreation Area . Google . Gordon Ramsay . Hotmail . IPTC . Michelin Star . Microsoft . Microsoft Giving Campaign . Monterey Bay Aquarium . Mountain Biking . Nudibranch . San Francisco . Search Engine Optimzation (SEO) . Ship Wrecks . Silverlight . Starbucks . Tassography . The Sea Nettle Jelly . TransRockies . TV Commercial . United Airlines . Usage . Windows 7 . Windows Imaging Component . Windows Live . Windows Live Calendar . Windows Live Photo Gallery . Wineries . XMP


This website, all photography & other content is Copyright © Ben Vincent. Unauthorised use of images is strictly prohibited.
Catalog Last Updated: Mon, 19 Jul 2010, 22:48:43    |   Version v4.0.3861.38195
Powered by
Fotofly Logo