Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-17404

Allow nuxeo-diff to compare images

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4
    • Component/s: Diff
    • Upgrade notes:
      Hide

      Added:

      • MimeTypeContentDiffer#getContentDiff(DocumentModel leftDoc, DocumentModel rightDoc, String xpath, Locale locale)
      • ContentDiffAdapterManager#getContentDifferForName(String name)
      Show
      Added: MimeTypeContentDiffer#getContentDiff(DocumentModel leftDoc, DocumentModel rightDoc, String xpath, Locale locale) ContentDiffAdapterManager#getContentDifferForName(String name)
    • Sprint:
      Drive Next
    • Story Points:
      3

      Description

      For Users

      Compare Images
      The Nuxeo Diff plug-in now works with pictures, and displays a dialog where the user can spot the differences between two pictures (must be of the same format and same dimensions). The dialog also lets the user set-up a "Fuzzy" comparison parameter (to remove noise when comparing JPEGs for example), and to choose the colors used for to highlight the differences.

        

      For Developers

      New API to Compare Pictures
      The org.nuxeo.diff.pictures.DiffPictures class allows to compare two pictures (must be same format and same dimensions), either from two Documents or two Blobs, and returns the image (as Blob) of the difference. Parameters can be used to setup the fuzz and the highlight colors. It requires ImageMagick.

        

      For Administrators

      New Martketplace Package: nuxeo-diff-pictures
      This package requires nuxeo-dam, installs nuxeo-diff (if not already installed), and uses ImageMagick.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.