Image scaling is wrong
Closed this issue ยท 5 comments
When i add an image the scale of the picture is wrong. The picture is every time too large.
My picture is 256x256.
MC1.16.5
Forge 36.1.0
Its a test picture 256x256. All image have the same bug.
{
"name": "Areas",
"icon": "minecraft:oak_sign",
"category": "mods",
"flag":"advancements_disabled",
"priority":false,
"secret":false,
"read_by_default":false,
"pages": [
{
"type": "text",
"text": "Um ein Gebiet zu benennen muss man [Area] 10 auf ein Schild schreiben."
},
{
"type": "text",
"text": "Most of the pages for the default page types are organized into subcategories."
},
{
"type": "image",
"images":["buchdeswissens:images/areas/areas_1.png"],
"title" : "Title of image",
"border":true,
"text": "Images used here should ideally be dimensioned as 256x256"
}
]
}
https://github.com/Vazkii/Patchouli/wiki/Default-Page-Types#image-pages
For best results, make your image file 256 by 256, but only place content in the upper left 200 by 200 area. This area is then rendered at a 0.5x scale compared to the rest of the book in pixel size.
Does not work. My picture is 256 by 256. Picture with 200 by 200 is the same problem.