Parsers

Build 1501 on 14/Nov/2017  This topic last edited on: 3/Dec/2015, at 16:31

[41] Parser: wrong title extracted from some image

GN4-3754

Fixed.

It Is a "little" logical breaking change:

Before this fix parser try to read all information into the xmp and there is a particular case: if a node is empty buy have one attribute with valid value, return the attribute value.

This cause a non-sense node values like this case.

The fix remove this "trick" and return the real information: the title node is empty.

(Parser after that provide to add the image file name to the title in this case)

Same problem with "description" node: why returning the default language into description node?

Modified date: 23/11/2015 12:26:26 - P4 Changelist: 79636 - From build: main.2732.x (T)

 

 

[19] Parser: invalid cast processing some PSD file

GN4-3764

The CreateDate into image XMP has a bad format, the parse fail and is replaced by a generic "MinValue".

Now in case of wrong date parse the parser just exclude this data. In this case "createdate" will not saved into object.

Modified date: 26/11/2015 17:14:05 - P4 Changelist: 79760 - From build: main.2735.x (T)

 

 

[3] Parser: bad preview for psd if NoClipPreview is True


the images that contains multiple extra channels wasn't correctly convert to PNG.

The fix solve the problem: if an image contains multiple extra channels ParseImg just ignore it (there is no data about what channel should be used as alpha...if exists).

If the user want to ignore in any case the alpha channel it can just set the PreviewFormat/ThumbnailFormat to 0 (0 = JPEG: this image format doesn't support alpha channel)

Modified date: 05/11/2015 13:00:36 - P4 Changelist: 79232 - From build: 2.2.2714.x (T)

 


[21] Parser: generate preview with alpha channel for images with clipping path


When processing images with clipping path an extra alpha channel shaping the image according to the clipping path is now added to the preview and thumbnail.

This fixes a problem showing transparent images put in the text using the img tag. Also the thumbnail shown in the navigator is better as is transparent.

[http://forum.teradp.com/topic.asp?TOPIC_ID=848&SearchTerms=alpha,channel,]

[http://helpdesk.miles33.com/support/scp/tickets.php?id=3299]

Modified date: 28/10/2015 18:13:43 - P4 Changelist: 79067 - From build: 2.2.2706.x (T)

 


[81] GN4: 'Root element is missing' error when uploading an OpenOffice file

GN4-3538

Uploading an OpenOffice .odt file, the 'Root element is missing' exception occurred.
This is because the ICSharpCode.SharpZipLib.dll library returned -1 as size of the "content.xml" file, which is compressed into the .odt archive.
Now fixed: modified the ParseOffice.dll plugin to read the "content.xml" file ignoring the size returned by ICSharpCode.SharpZipLib.dll.

Modified date: 17/09/2015 17:17:28 - P4 Changelist: 78554 - From build: 2.2.2665.x (T)