-
Notifications
You must be signed in to change notification settings - Fork 876
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,753
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@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
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
#91 git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922731 13f79535-47bb-0310-9956-ffa450edef68
…well git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922735 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922738 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922743 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922747 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922752 13f79535-47bb-0310-9956-ffa450edef68
…ecause that one can be a BufferedImage when printing with nonzero dpi git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922762 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922772 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922780 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922786 13f79535-47bb-0310-9956-ffa450edef68
…ask defined in the current graphics state, as done by SehoAhn and Jonas Jenwald in PDF.js PR 19269 git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922799 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922832 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922837 13f79535-47bb-0310-9956-ffa450edef68
…ith d1 or uncolored tiling patterns git-svn-id: https://svn.apache.org/repos/asf/pdfbox/branches/2.0@1922855 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
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]`