#11 early access to the raw xobjects for images.

temporary 'safe' untested implementation of seac for type 1 charstrings.
make structure public
bump version of package and project to 0.0.3 (it had accidentally increased to 0.0.5)
This commit is contained in:
Eliot Jones
2018-11-26 19:46:41 +00:00
parent 48fa4a4f15
commit 997979cc92
18 changed files with 199 additions and 46 deletions

View File

@@ -4,7 +4,7 @@
using Graphics;
using Graphics.Operations;
using Tokenization.Scanner;
using XObject;
using XObjects;
/// <summary>
///
@@ -38,11 +38,11 @@
this.isLenientParsing = isLenientParsing;
}
public void GetImages()
public IEnumerable<XObjectImage> GetImages()
{
foreach (var contentRecord in xObjects[XObjectType.Image])
{
xObjectFactory.CreateImage(contentRecord, pdfScanner, isLenientParsing);
yield return xObjectFactory.CreateImage(contentRecord, pdfScanner, isLenientParsing);
}
}
}