GDQuest / krita-batch-exporter

A Free Krita plugin to batch export layers and groups with maximum flexibility. Scale, trim, export multiple copies of your layers...
GNU General Public License v3.0
313 stars 27 forks source link

Incorrect export dimensions when t=false and scale<100 #64

Closed SeanHRN closed 2 years ago

SeanHRN commented 2 years ago

I'm submitting a...

Bug report

What is the current behavior? If I export layers with the names testB e=png s=30 t=false and testA e=png s=30 t=false, from a canvas that is 1920x1080, the resulting PNGs are of different dimensions and do not retain the proportions of the original image.

What is the expected behavior? The PNGs should have the exact dimensions 576x324 since the contents of each layer are entirely within bounds. Instead, B is 497x40 and A is 540x39.

Tell us the steps to reproduce the bug, and if possible share a minimal demo of the problem.

As explained above. I'll attach my test document.

t_test.zip testA_@0 3x testB_@0 3x

razcore-rad commented 2 years ago

Thanks for the heads up. I fixed the issue. Now you'll have to install from this repo instead of using the plugin bundled with Krita because that version will have to catch up to this source.