Thursday, March 29, 2007

Windows Vista API Competition WINNER @ Code Project

My addiction to Code Project Competitions ,got another of my Article "Photoshop Preview Handler for Windows Vista" a monthly prize
for innovative use of Windows Vista API .


The best prize ever.



An XBX 360 Package / HD DVD Player/ Accesories (worth
$ 1000)


Below is the excerpts from the article.



Introduction


Preview handler is the latest methodology in Microsoft Windows Vista™, which
provide a rich, interactive, and read-only preview of a file without having to
launch the associated application. The in-place interactive previews of the file
are available in the Explorer windows, common dialogs, and search results. The
core feature is integrated into Windows Vista Shell which allows developers to
extend this functionality by writing managed code add-ins i.e. preview handlers
for custom files.


Screenshot - PreviewHandler.jpg


For example, "a Microsoft Word 2007 Preview Handler" will enable a user to
view and interact with a Microsoft Word 2007 document (.docx file) without
having to launch Microsoft Word 2007. In fact, you don't even need Microsoft
Word 2007 or Office 2007 to see the preview if you have the related preview
handler - now that's amazing.


This article describes a preview handler for Adobe Photoshop®
(PSD) file. Here is how the preview of a PSD file will look like in the preview
pane


Screenshot - VistaPreview.jpg


The goal


When the user clicks on a Photoshop file (vista_adobe.psd) in the
Windows Explorer



  • A "readonly" preview of the file will be shown in the preview pane
  • Image "Dimension" and "number of layers" in the PSD file will be shown in
    the "tooltip"
  • Resolution, Color Depth, & Compression information of the file will be
    available to the user

All this occurs without the Adobe Photoshop application.


Check the article here

No comments:

Post a Comment