Update from v0.3.13 to v0.5.0 #748
-
Hello, I updated pdfcpu from v0.3.13 to v0.5.0 and since then I'm having an issue, my images are not displayed in the PDF anymore. PS: example of a template {
"paper": "A4",
"crop": "10",
"origin": "LowerLeft",
"contentBox": false,
"guides": false,
"dirs": {
"images": "./assets"
},
"files": {
"logo": "$images/logo.png"
},
"padding": {
"width": 80
},
"images": {
"logo": {
"file": "$logo",
"margin": {
"width": 5
}
}
},
"pages": {
"1": {
"content": {
"image": [
{
"name": "$logo",
"anchor": "topright",
"dx": 0,
"dy": 0,
"height": 30
}
],
"text": [
{
"value":"Title",
"anchor":"topleft",
"dx":0,
"dy":-10,
"font":{
"name":"Helvetica",
"size":18,
"col":"Black"
}
},
{
"value": "Subtitle",
"anchor": "topleft",
"dx": 0,
"dy": -100,
"font": {
"name": "Helvetica-Bold",
"size": 12,
"col": "Black"
}
}
]
}
}
}
} |
Beta Was this translation helpful? Give feedback.
Answered by
hhrutter
Nov 29, 2023
Replies: 1 comment 1 reply
-
Please make sure you are running the latest commit. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
amauryportier
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please make sure you are running the latest commit.
If your problem persists please create an issue.
Thank you!