mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-09-20 03:17:57 +08:00
#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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user