Latest News ...

THBImage SDK Online Documentation
Here you can view the THBImage 5.0 do...
THBImage SDK Framework Hierarchy Chart
The documentation now contains a bett...
New website
I...
THBImage SDK v5.0.5.6 Vector symbols, Curve drawing
This update improves THBVector and TH...
THBImage SDK v5.0.5.5 Worlddata
THBViewProject now reads more propert...
THBImage SDK v5.0.5.4 Geometry drawing
DirectX renderer performance improved...
THBImage SDK v5.0.5.2 - SVG DirectX TWAIN geometry
New SVG vector fileformat support....
THBImage SDK v5.0.5.1 DirectX IPP DXF
THBAdvancedImgProc upgraded to Intel ...
OpenStreetMap (OSM) demo zoom levels
OpenStreetMap (OSM) is a collaborativ...
THBImage Viewer Application - Geometry and Picture Viewer
THBImage Viewer is a small and fast r...
Download THBImage image and vector viewing and processing SDK
Download THBImage image and vector viewing and processing SDK

THBImage Viewer is a small and fast raster picture and vector data viewer.
THBImage Viewer is a small and fast raster picture and vector data viewer.

THBImage SDK v5.0.2.9 - PDF and vector drawing

  1. 9 is a great new version with some new features.
    There are two major points that make it interesting.
    The first point is the performance improvement in vector drawing. And the second point is the new THBPdf object that can do great PDF operations.

New objects: THBPdfPage, THBPdfDocument, THBPdfDocumentInfo, THBPdfDocumentPageWriter

This new PDF writer is great leap forward in creating and accessing PDF documents.
You can align multiple image and text objects on a single page.
Or simple write out imagedata packed into pdf.
You benefit from the integrated tiff bi-level compression technique to create the smallest possible Pdf documents for archivation.
You can hide text below the image to create searchable PDF documents which are indexable.
Color compression formats include Jpeg and LZW.
A new Pdf 1.5 feature is to create multilayer documents. The PDF viewer shows a list of layers that the user can set to visible or invisible resulting in a flexible way to create your documents. Think of filled out forms, watermarks where the user can turn on/off content on demand.
It gets even more interesting if you assign image masks to imagedata which makes parts of the image transparent, in combination with multiple stacked layers where layers are transparent you have nearly unlimited options to create the next generation of pdf documents.
In addition to generating PDF pages you can append pages to existing pdf documents page by page. In this way you can scan 1000 pages and append each one to the existing pdf without the requirement to store the whole pdf file in memory.
An additional feature is to extract all pictures of any pdf page.

Excerpt from the History file that you find in the setup
5.0.2.9: Released 30-Dec-2007
BrowserDocument property for weblicense implemented for all objects THBImageEdit.FileFormatSetting.PDFCompressionSet assigns the best pdf compression mode. If Jbig2/Jpeg2000 filter dlls are present it will use jbig2 or Jpeg2000 depending on the colordepth. Otherwise it will use Tiff G4, Jpeg or LZW. You can still affect compression settings afterwards by changing Jpeg quality level, Jpeg2000 settings or Jbig2 settings. In case of Jbig2 settings always use thbJbig2ExpPDFStream.

All Standard Objects now have the InterfaceITHBObject property for efficient casting between objects. See also THBCast. Casting Geometry to THBObject in order to cast from Geometry to ReferenceGeometry THBCast.CastTHBGeometryToTHBObject Examples now contain global constants THBIMAGELICENSE and THBVECTORLICENSE for serialnumber assignment Events in .Net examples were not invoked each time. New Object THBViewScreenPointsConverter for fast coordinate conversion. If THBView.UseEnterpriseEdition is enabled coordinate conversion uses the advanced image processing dll for coordinate conversion. Great performance improvements for vector drawing. new objects THBImageEditDX, THBImageEditDX90, THBDirectXSession, THBImageListDX: Now we have the first experimental implementation of DirectX Hardware accelleration. It is not intended for use in a release application but will help to further improve it. These bew dlls are just loaded if you set the gardware provider to DirectX TDX8AP50.dll, TDX9AP50.dll new typedef thbHardwareProvider new properties THBView.HardwareProvider: thbimage can take advantage of DirectX hardware acceleration (experimental status). THBView.CanUseHardwareProvider: checks if the requested hardware provider is available on your machine. THBControl.HardwareProvider: each control can take advantage of DirectX hardware acceleration . THBViewUserInterface.Dirty: flags the userinterface as dirty, it will be recreated the next time Interface THBViewLayer now has a RenderDx method New property SetSkinImageListDx81 New cursors for Rotate und Select commands thbmpSelect, thmpRotate. new property THBViewPopupMenu.GradientBackground: enables the gradient background drawing in the popup menu. This is enabled by default. Grabhandles can now scale and rotate all geometry objects. New Edit Layer for temporary geometry editing and previewing. This layer will be used when starting the edit command. To affect the style of the new Edit Layer there is a nbew style property THBViewGeometryStyles.EditStyle: Returns or sets the style of edit geometry objects for temporary geometry editing and previewing

new function THBImageEdit.FileFormatSetting.PDFCompressionSet: assigns the best pdf compression mode. If Jbig2/Jpeg2000 filter dlls are present it will use jbig2 or Jpeg2000 depending on the colordepth. Otherwise it will use Tiff G4, Jpeg or LZW. You can still affect compression settings afterwards by changing Jpeg quality level, Jpeg2000 settings or Jbig2 settings. In case of Jbig2 settings always use thbJbig2ExpPDFStream. The THBImageEdit.Overlay and THBImageEdit.OverlayWithTransparency functions can now handle 1bit black&white data. So it is no longer necessary to work around this limitation by converting the imagedata to grayscale and then back again to black&white. Casting Geometry to THBObject in order to cast from Geometry to ReferenceGeometry THBCast.CastTHBGeometryToTHBObject Reading some OldJpeg(Kodak Capture) tiffs did not succeed due to JpegTables extraction.

new THBImageEdit.Encode class for encoding imagedata in different compression formats this is no replacement for THBImageEdit.SavePictureTo… functions. It”s a new way to treat imagedata without a fileheader. THBImageEdit SoftLight blendmode updated for PSD viewing via THBPSDLayer

new function THBImageEdit.ImageProcessing.ResampleToDPI: Resizes the image to a new DPI resolution. The current image should have valid dpi values assigned. After the operation the new dpi values are assigned.

Pdf Pagewriter enforces BlackWhite color in case of Jbig2 compression.
new functions THBLayers.ToStringValShort, THBLayer.ToStringValShort, returns a shorter string representation of the layers or layer object. Great performance improvements for vector drawing. Rotated Text now works with GDI+ DrawingProvider new function ApplyStyle: after changing the style we have to recreate the layout to apply the changes new functions THBEncoder.Zip… THBEncoder.Unzip for zip compression and decompression THBEncoder now supports zip/unzip functions in addition to the Base64 functions. You can zip from file or directly in memory. CreateTHBCoords3D just parsed integer values, now it proper handles decimal values. The Scrollbar now can use skinpictures new method THBUtilsFactory.CreateTHBCoord3D1 new method THBCast.CastToTHBImageEditDX90: casts THBImageEditDX objects to THBImageEditDX90