NAVPictureViewer 2.3

AdministratorAdministrator Member, Moderator, Administrator Posts: 2,495
edited 2014-09-11 in Download section
NAVPictureViewer 2.0
With this tool you can view any kind of supported picture formats like JPG, TIF, GIF, BMP, etc. from BLOB fields stored in the NAV database. The data are passed from the BLOB field to a picturebox control via NAV OutStream interface (no temporary files involved) and the picture is completelly embedded in a NAV subform control. You can rightclick the picture, copy it to the clipboard and paste it into another application.

Included is a demo object form (item card), which allows you to view, import, export and delete pictures (viewing is possible up to a picture size of 80 kB).

The tool and the 3 demo object Forms 50075 to 50077 should be useable for NAV version 3.01 or higher (tested with NAV 5.0 SP1 and NAV 2009 under XP and Vista).

If you would like a full version of this tool for commercial purposes or have any questions, please contact ghuebner@dms-systemhaus.de

http://www.mibuso.com/dlinfo.asp?FileID=1098

Discuss this download here.

Comments

  • gerdhuebnergerdhuebner Member Posts: 155
    It should be noted that, compared to similar tools, there are no graphic format conversions (from jpg to bmp, e. g.) nor any temporary files involved in the functionality of the tool. The images are stored in their original graphic format in the BLOB fields of the database and are shown in a .NET PictureBox control without any conversions or temporary savings to hard disc directly from the OutStream of the BLOB.
    In order to uninstall the control, you have to do the steps in the readme.txt file in reverse order. Especially the command for uninstalling the dll is:
    regasm /unregister /codebase /tlb NAVPictureViewer.dll
    After having the control uninstall, you can delete the file NAVPictureViewer.dll from your hard disk.

    Known issues:
    1.) If the control in the subform shows no image you can rightclick the (empty) subform and select "Copy", which causes an unhandled exception. This will be corrected in the next release ("Copy" should not be enabled, when there is no image to copy).
    2.) If you import a file containing an invalid picture format, an exception is thrown, but it is not possible to delete the imported BLOB from the database with the demo objects. This will be corrected in the next release. Instead of an exception, a message is displayed.
    3.) In the import- and export-dialogs only some of the supported graphic formats are proposed. The following formats are supported:
    Bmp,Emf,Exif,Gif,Icon,Jpeg,Png,Tiff and Wmf (will be corrected)

    Extensions planned for the next release:
    1.) A comfortable installation routine should be provided making it unnecessary to install/uninstall the DLL manually.
    2.) It should be possible to drag and drop an image file to the NAV subform, thereby the image is automatically saved in the database (replacing of course an already existing image after prompting). The context menu should also be extended by a "Paste" entry to import files directly from the clipboard.
    3.) It should be possible to delete an image from the database via right-clicking it and select "Delete".
    4.) It should be possible to print the stored images on arbitrary reports in a picture box of arbitrary size. The zoom factor should be determined automatically.
    5.) It should be possible to convert a picture to another graphic format, for example convert existing bmp pictures to jpg.
    6.) When exporting a picture, the same graphic format should be proposed in which the picture was originally stored in the BLOB field of the database. If annother graphic format is chosen, an automatic conversion should take place.
  • AdministratorAdministrator Member, Moderator, Administrator Posts: 2,495
    NAVPictureViewer 2.1
    PictureBox to display and print images of different formats embedded in NAV forms.

    New Version 2.1:
    - multiple images embeddable in Item card or other forms
    - printing from NAV reports with auto scaling
    - 9 supported image formats like Jpeg, Tiff, Gif, Wmf, ...
    - easy to install and deinstall
    - sample application objects
    - documentation in pdf format
    - drag and drop, copy and paste
    - information about image (format, size, resolution)

    http://www.mibuso.com/dlinfo.asp?FileID=1098

    Discuss this download here.
  • gerdhuebnergerdhuebner Member Posts: 155
    NAVPictureViewer 2.1

    Known issues:
    1.) On NAV versions older than 5.0 the client may crash in a non reproducable way while printing or running the demo report. Often a C++ Runtime error is shown: R6025 Pure virtual function call. - This seems to be due to an incorrect handling of COM Automation objects within older NAV versions. There is a workaround which creates the NAVPictureViewer for every picture to print and clears it again afterwards. To implement this workaround you first have to create a new function ClearViewer() in the subform 50077:
    IF isActive THEN BEGIN
      CLEAR(PictureViewer);
      isActive := FALSE;
    END;
    
    Secondly, remove the code in the OnPreDataItem trigger of report 50075 "NAVPictureViewer Item List" and replace the code in the OnAfterGetRecord trigger with the following code:
    IF NAVPictViewerItemSubForm.InitViewer(FALSE) THEN BEGIN        // has to be created for every item due to R6025 C++ runtime error
      CALCFIELDS(Picture);
      IF NAVPictViewerItemSubForm.PrintPicture(Item,TempItemOut,6750,6345) THEN
        picValidText := ''
      ELSE
        picValidText := 'Invalid picture format.';
      NAVPictViewerItemSubForm.GetPictureInfo(picFormat,picWidth,picHeight,picHorzRes,picVertRes);
      NAVPictViewerItemSubForm.ClearViewer;
    END;
    
    (the variable isRunning is no longer needed)
    So the Automation variable is created and cleared for every picture. Fortunately this does not lead to any noticeable slowing down of the report printing speed but should avoid crashing the client.

    2.) In some cases (small picture size, some pictures in Wmf format, etc.) an Invalid format text is shown, though the picture is a valid image. If you encounter this problem and you have got a commercial version, please contact me to receive a hotfix.
  • AdministratorAdministrator Member, Moderator, Administrator Posts: 2,495
    NAVPictureViewer 2.2
    PictureBox to display and print images of different formats embedded in NAV forms.

    New Version 2.2:
    - multiple scaleable images embeddable in Item card or other forms
    - fast display of images
    - printing from NAV reports with auto scaling
    - 9 supported image formats like Jpeg, Tiff, Gif, Wmf, ...
    - easy to install and deinstall
    - sample application objects
    - documentation in pdf format
    - drag and drop, copy and paste
    - information about image (format, size, resolution)
    - no file size limitation in demo version

    New Version 2.1:
    - multiple images embeddable in Item card or other forms
    - printing from NAV reports with auto scaling
    - 9 supported image formats like Jpeg, Tiff, Gif, Wmf, ...
    - easy to install and deinstall
    - sample application objects
    - documentation in pdf format
    - drag and drop, copy and paste
    - information about image (format, size, resolution)

    http://www.mibuso.com/dlinfo.asp?FileID=1098

    Discuss this download here.
  • iqbalmadiqbalmad Member Posts: 179
    Hi,
    you mentioned about 3 demo object Forms 50075 to 50077. did not foud it in the download section.. should we pay to use this?
  • gerdhuebnergerdhuebner Member Posts: 155
    iqbalmad wrote:
    Hi,
    you mentioned about 3 demo object Forms 50075 to 50077. did not foud it in the download section.. should we pay to use this?
    The demo object file is copied into the program folder (c:\programs\NAVPicturerViewer\2.2 , e. g.) by the installation routine.
  • iqbalmadiqbalmad Member Posts: 179
    how do i remove the demo version that is pasted alongside the picture i import?
  • Djou2424Djou2424 Member Posts: 76
    Where can we buy this add-on and anyone knows the price for it?
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    Djou2424 wrote:
    Where can we buy this add-on and anyone knows the price for it?
    Did you read the first message in this thread?
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • gerdhuebnergerdhuebner Member Posts: 155
    iqbalmad wrote:
    how do i remove the demo version that is pasted alongside the picture i import?
    This is a feature of the demo version, only. In the commercial version, there is no "DEMO" string pasted in front of the picture.
  • iqbalmadiqbalmad Member Posts: 179
    where can i buy this software??
  • gerdhuebnergerdhuebner Member Posts: 155
    iqbalmad wrote:
    where can i buy this software??
    Did you read the 10th message in this thread?
  • AdministratorAdministrator Member, Moderator, Administrator Posts: 2,495
    NAVPictureViewer 2.3
    PictureBox to display and print images of different formats embedded in NAV forms.

    New Version 2.3 (11/09/2014):
    - Display pictures from file system (not embedded as Blobs in NAV)
    - Bugfixes

    New Version 2.2 (9/09/2010):
    - multiple scaleable images embeddable in Item card or other forms
    - fast display of images
    - printing from NAV reports with auto scaling
    - 9 supported image formats like Jpeg, Tiff, Gif, Wmf, ...
    - easy to install and deinstall
    - sample application objects
    - documentation in pdf format
    - drag and drop, copy and paste
    - information about image (format, size, resolution)
    - no file size limitation in demo version

    New Version 2.1:
    - multiple images embeddable in Item card or other forms
    - printing from NAV reports with auto scaling
    - 9 supported image formats like Jpeg, Tiff, Gif, Wmf, ...
    - easy to install and deinstall
    - sample application objects
    - documentation in pdf format
    - drag and drop, copy and paste
    - information about image (format, size, resolution)

    http://www.mibuso.com/dlinfo.asp?FileID=1098

    Discuss this download here.
Sign In or Register to comment.