Introduction
Appliances Reviews
Developing software and designing images you often need to extract them from some external source, apply some transformations and conversions, save prepared images and then use in your developed applications. Performing these steps you can find useful some interesting features of Sharp IMG Viewer 2008.
Appliances Reviews Sharp IMG Viewer Features of 2008 In Detail
Sharp IMG Viewer 2008 is a resource explorer which lets to open images, extract from various sources, save images in other formats, view image properties including metadata and perform operations on selected images. This article describes the methods available to import images from assemblies, archives, disk image files, virtual disk files, Windows executables, resources, compound and compiled help files. You are supposed to know main Microsoft Windowsarchitecture principles.
Requirements
Sharp IMG Viewer Features of 2008 In Detail
Appliances Reviews
Sharp IMG Viewer 2008 is developed for the.NET Framework 2.0 or later. I recommend you to install the latest the.NET Framework 3.5 SP1 which includes the most recent fixes from Microsoft to use all features of Sharp IMG Viewer 2008 including import from disk image files and virtual disk files based on DiscUtils library developed by Kenneth Bell.
Please reference the Sharp IMG Viewer 2008 documentation and readme files to become acquainted with hardware and software requirements and installation procedures.
Import from image files
Sharp IMG Viewer 2008 allows you to open all image file formats supported by GDI + (bitmaps, icons and metafiles) as well as Windows animated cursors and cursors, AVI frames. Moreover you can importimages from many additional file formats supported by FreeImage open source graphics library by choosing File-> Import-> From Image File … menu item.
It is possible to select one or several image files and then press Open button to import them to Sharp IMG Viewer 2008 main window.
As you understand reading the FreeImage documentation in addition to standard monochrome, grayscale, RGB, palletized and RGBA bitmaps nonstandard UINT16, INT16, UINT32, INT32, FLOAT, DOUBLE, COMPLEX, RGB16, RGBA16, RGBF and RGBAF image storage types are handled. Camera RAW image files are imported as 48-bit linear RGB16 bitmaps.
Import from executable files
There are several file types containing embedded executable resources supported by Windows: 16-bit Virtual device drivers,16-bit NE executables, 32-bit PE executables and 64-bit PE + executables. All these types are supported by Sharp IMG Viewer 2008. For example, you can extract some nice images from the popular Skype dialer to include them to your application. You can use Sharp IMG Viewer 2008 to preview resources by choosing File-> Import-> From Executable … menu item and selecting Skype.exe executable. Opening this file you will see a lot of resource items of various types.
You can change list view mode by selecting view to details menu above the resource list to see resource types. Your task is to select your needed images by pressing UP and DOWN keys or by clicking the mouse button on the list items. Sharp IMG Viewer 2008 simplifies the task by displaying the resource preview immediately onselecting list item. You are also enabled to select preview mode from the combo box.
You may preview all standard resource types such as dialogs, menus, accelerators, version, manifest, string tables and message as well as decompiled Delphi forms from RCData resources. Nevertheless you need to concentrate attention to bitmaps, cursors and icons. It must be pointed out cursors and icons with different dimensions and resolutions are shown as combined to groups unlike to other resource viewers. The purpose is to reduce a total number of items shown in the resource list. If you need to import an icon with specific dimensions or resolution you can extract this icon later after importing of entire icon group.
It should be noticed some images can be stored as RCData or custom typeresources. There is no need to perform any distinctive actions, you can select and preview them as usually. You also can find useful an opportunity to extract and save selected resources to some folder for further review. To use this feature, press the Extract to folder button above the resource list and select a folder to extract resources.
Import from.NET resources
Sharp IMG Viewer 2008 allows you to decompile resource information from either binary files (* .resources) or XML files (.resx). In order to view resources you should choose File-> Import-> From Resource … menu item and select .resources or .resx file.NET resource files are often used by Windows Forms and control design tools, but.NET developers can include resource files with arbitrary data into theirapplications. You can import not only bitmaps, cursors and icons, but image lists also. Image lists containing sets of images are stored in resource files and can be deserialized using System.Windows.Forms.CheckState. ImageListStreamer class.
When your application is ready for localization and contains localizable user-interface elements strings needed for a particular cultures are stored in culture-specific resource files and are then built into satellite assemblies. WPF XAML Forms introduced in.NET Framework 3.0 to describe user interfaces are translated into binary BAML files and then are embedded into the binary .resources files. You can use preview to display BAML files decompiled form.
Import from.NET assemblies
.NET assemblies can contain optional embedded resources storedin sections different from ordinary PE files. These resources are described by assembly manifest and can be extracted by Sharp IMG Viewer 2008. If you wish to read embedded resources packaged inside.NET assembly choose File-> Import-> From Assembly … menu item and select the assembly.exe or.dll file.
You can also explore embedded .resources files using mouse by double-clicking corresponding items.
Moreover as aforesaid you can extract and save selected resources to some folder pressing the Extract to folder button above the resource list.
Import from archives
Archives make it easy to group files and make transporting and copying these files faster. Archives are frequently used to store compressed files distributed by application installers for deployment purposeto reduce total package size. Archive files can be intended for backup purpose also. Compression methods and compression ratio used can vary depending from the archive type. Some archives can be encrypted using specified password. Java archive files and document files used by the latest Office applications have the structure of Zip archives. Sharp IMG Viewer 2008 enables you to explore and decode files from the most important Zip, GZip, BZip2, Tar, Z, PPMd, 7z, LZMA, Microsoft Cabinet and WIM format archives, self-extracting Zip, 7z, Microsoft Cabinet archives as well as ISO, FAT, NTFS disk image files by choosing File->Import->From Archive… menu item. Therefore, as mentioned above, the executable files can be interpreted in three ways: as executable, as.NET assembly or as self-extracting archives.
You can preview both image files and text, XML, HTML, RTF document, binary files, depending from the file extension.
Besides you can explore any archive and.NET resource files contained in the archive. You may display compressed, uncompressed size, modification time and compression method changing list view mode to details. Opening Microsoft WIM files introduced in Windows Vista you can see the XML data from the embedded manifest describing the file and the contained images.
Import from compound files and compiled HTML help files
Compound document files (*.doc, *.xls, *.ppt etc.) were used by Microsoft Office applications such as Word, Excel, PowerPoint, prior to version 2007, but these files are still frequently used so far. MoreoverMicrosoft Installer packages use the same compound file format. Compound document file storages and streams consists of to implement embedding and linking as explained in OLE documentation. Compiled HTML help files (*.chm) have different structure, but the content can be accessed using the IStorage and IStream same COM-interfaces. You can open either compound document files or compiled HTML help files by choosing File-> Import-> From Compound File … menu item.
To find embedded images you should find inner streams inside outer storage.
You can explore compiled HTML help files in the same way as archives.
Compound document files sometimes contain images and icons stored as streams as you can see Microsoft Installer packages.
However, stream names can containany special symbol. There are special purpose \x0005SummaryInformation and \x0005DocumentSummaryInformation streams used to store property sets, which can include title, subject, keywords, description, modification date, etc. You can explore property sets double-clicking them using a mouse. Obviously, you may display property names and types changing list view mode to details. It should be noticed property sets can contain properties of type VT_CF with clipboard data to save thumbnail image information.
Import from virtual disk files
Sharp IMG Viewer Features of 2008 In Detail Appliances Reviews
Recent Comments