In my case i created a pdf file using iText in java and im trying to use sprite images in my pdf file.. Is there anyway that sprite images could be added to pdf using iText?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s possible but takes some effort.
What you need is an image and a path. The path should be a rectangle and is used to clip the image (so that you can see only the part of the sprite that you want to show).
Here is an example from iText in Action: part3.chapter10.ClippingPath