-
Notifications
You must be signed in to change notification settings - Fork 875
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,767
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 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@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
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1918244 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1918250 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1918262 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1918287 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1918290 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1918293 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1918311 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1918316 13f79535-47bb-0310-9956-ffa450edef68
… of target document git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1918327 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1918329 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1918337 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1918339 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1918347 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1918388 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1918403 13f79535-47bb-0310-9956-ffa450edef68
…mpty private dict and check after the loop git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1918445 13f79535-47bb-0310-9956-ffa450edef68
…s with d1 or uncolored tiling patterns git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922856 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922861 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922874 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922875 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922879 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922883 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922889 13f79535-47bb-0310-9956-ffa450edef68
… the font git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922904 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922907 13f79535-47bb-0310-9956-ffa450edef68
… in PDType1CFont.getWidth(), as suggested by Andreas Lehmkühler git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922916 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922919 13f79535-47bb-0310-9956-ffa450edef68
…, as suggested by Andreas Lehmkühler git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922921 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922937 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922940 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922950 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1923030 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1923103 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1923104 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1923106 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1923169 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1923224 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1923227 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1923230 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1923233 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1923234 13f79535-47bb-0310-9956-ffa450edef68
…ivate test code from 5203 git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1923237 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1923251 13f79535-47bb-0310-9956-ffa450edef68
…s is already in getCertificateSet() result git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1923255 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1923258 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1923273 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]`