-
Notifications
You must be signed in to change notification settings - Fork 828
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
JFIF APP0 must be first marker after SOI #104
Open
zengquan
wants to merge
4,531
commits into
trunk
Choose a base branch
from
2.0
base: trunk
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
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 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@1910492 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1910589 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1910596 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1910597 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1910669 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1910670 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1910672 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1910673 13f79535-47bb-0310-9956-ffa450edef68
…s Rimša git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1910730 13f79535-47bb-0310-9956-ffa450edef68
…h a reduced amount of values git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1910736 13f79535-47bb-0310-9956-ffa450edef68
…tlines git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1910739 13f79535-47bb-0310-9956-ffa450edef68
…by DvdM git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1910742 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1910743 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1910745 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1910757 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1910892 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1910895 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1911020 13f79535-47bb-0310-9956-ffa450edef68
…negative git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1911025 13f79535-47bb-0310-9956-ffa450edef68
…tive result git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1911071 13f79535-47bb-0310-9956-ffa450edef68
…mkl; DRY refactor git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1911141 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1911307 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1911310 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1911329 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1911332 13f79535-47bb-0310-9956-ffa450edef68
…ly sorted git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1911343 13f79535-47bb-0310-9956-ffa450edef68
…ne the object numbers git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1911346 13f79535-47bb-0310-9956-ffa450edef68
…y when Cap yes; remove super(); use constants; avoid useless dictionary entry git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1911426 13f79535-47bb-0310-9956-ffa450edef68
…as suggested by Jaromír Dobrý git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1911456 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1911457 13f79535-47bb-0310-9956-ffa450edef68
…lone if needed git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917455 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917456 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917467 13f79535-47bb-0310-9956-ffa450edef68
…recursion (change needed because identical integers weren't displayed) git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917470 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917472 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917493 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917495 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917498 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917508 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917552 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917598 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917639 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917735 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917761 13f79535-47bb-0310-9956-ffa450edef68
…gParser as provided by Patrick Corless, closes #193 git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917768 13f79535-47bb-0310-9956-ffa450edef68
…DFTextStripperByArea git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917785 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917788 13f79535-47bb-0310-9956-ffa450edef68
…rrent page so we can restore reverted commit, as suggested by Andreas Lehmkühler git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917800 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917805 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917808 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917813 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917837 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917880 13f79535-47bb-0310-9956-ffa450edef68
…ess for PDF/A-1b; add test with PDF/A check git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917888 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917890 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917893 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917897 13f79535-47bb-0310-9956-ffa450edef68
…xComponentDepth git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917926 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1917969 13f79535-47bb-0310-9956-ffa450edef68
…e glyph list git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1918009 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]`