-
Notifications
You must be signed in to change notification settings - Fork 906
JFIF APP0 must be first marker after SOI #104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
zengquan
wants to merge
4,892
commits into
trunk
Choose a base branch
from
2.0
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1920596 13f79535-47bb-0310-9956-ffa450edef68
… do it git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1920689 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1920729 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1920732 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1920737 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1920755 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1920756 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1920757 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1920942 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1920943 13f79535-47bb-0310-9956-ffa450edef68
…ream length values <= as invalid git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1921019 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1921119 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1921120 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1921187 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1921202 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1921204 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1921207 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1921334 13f79535-47bb-0310-9956-ffa450edef68
…en space before /S git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1921421 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1921498 13f79535-47bb-0310-9956-ffa450edef68
…roperty list git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1921565 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1921568 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1921584 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1921587 13f79535-47bb-0310-9956-ffa450edef68
…sting method git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1921592 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1921593 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1921618 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1921647 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1921671 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1921675 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925410 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925466 13f79535-47bb-0310-9956-ffa450edef68
…icolas DUFAILLY git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925578 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925581 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925607 13f79535-47bb-0310-9956-ffa450edef68
…ke a list of it for postprocessing git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925614 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925616 13f79535-47bb-0310-9956-ffa450edef68
…at least one MCID git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925618 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925622 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925628 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925638 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925660 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925689 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925700 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925705 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925775 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925778 13f79535-47bb-0310-9956-ffa450edef68
…have a /Pg entry itself or in the parent git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925781 13f79535-47bb-0310-9956-ffa450edef68
… or in parent git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925785 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925788 13f79535-47bb-0310-9956-ffa450edef68
…ake a list of it for postprocessing git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925812 13f79535-47bb-0310-9956-ffa450edef68
…y because source had the wrong /Pg entry git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925815 13f79535-47bb-0310-9956-ffa450edef68
…elf or in the parent git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925820 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1925862 13f79535-47bb-0310-9956-ffa450edef68
…e whitespace at the beginning of an inline image git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1926036 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1926146 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1926184 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1926332 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1926340 13f79535-47bb-0310-9956-ffa450edef68
…Howind git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1926546 13f79535-47bb-0310-9956-ffa450edef68
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
i'm insert a picture into my template.pdf
`PDImageXObject image = PDImageXObject.createFromFile(“C:/tmp/db20dacea96841098d8b34635c8aec1e.jpg”, document);
PDPageContentStream contentStream = new PDPageContentStream(document, document.getPage(0), PDPageContentStream.AppendMode.APPEND, true);
contentStream.drawImage(image, x , y,width, height);
at com.sun.imageio.plugins.jpeg.JPEGMetadata.(JPEGMetadata.java:224) ~[na:1.8.0_121]
at com.sun.imageio.plugins.jpeg.JPEGImageReader.getImageMetadata(JPEGImageReader.java:1023) ~[na:1.8.0_121]
at org.apache.pdfbox.pdmodel.graphics.image.JPEGFactory.getNumComponentsFromImageMetadata(JPEGFactory.java:213) [pdfbox-app-2.0.22.jar:2.0.22]
at org.apache.pdfbox.pdmodel.graphics.image.JPEGFactory.retrieveDimensions(JPEGFactory.java:182) [pdfbox-app-2.0.22.jar:2.0.22]
at org.apache.pdfbox.pdmodel.graphics.image.JPEGFactory.createFromByteArray(JPEGFactory.java:103) [pdfbox-app-2.0.22.jar:2.0.22]
at org.apache.pdfbox.pdmodel.graphics.image.JPEGFactory.createFromStream(JPEGFactory.java:85) [pdfbox-app-2.0.22.jar:2.0.22]
at org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.createFromFileByExtension(PDImageXObject.java:241) [pdfbox-app-2.0.22.jar:2.0.22]
at org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.createFromFile(PDImageXObject.java:202) [pdfbox-app-2.0.22.jar:2.0.22]`