Discussion:
[krita] [Bug 348507] New: PDF Export to DIN A4 creates DIN A5
p***@web.de
2015-05-31 16:03:26 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=348507

Bug ID: 348507
Summary: PDF Export to DIN A4 creates DIN A5
Product: krita
Version: 2.9.4
Platform: openSUSE RPMs
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: krita-bugs-***@kde.org
Reporter: ***@web.de

PDF Export to DIN A4 creates DIN A5. In order to get an DIN A4 PDF you have to
select DIN A3

Reproducible: Always

Steps to Reproduce:
1.PDF-Export a file to DIN A4 -> results in an A5 PDF
2.PDF-Export a file to DIN A3 -> results in an A4 PDF
3.
--
You are receiving this mail because:
You are watching all bug changes.
p***@web.de
2015-05-31 16:09:28 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=348507

--- Comment #1 from ***@web.de ---
Actually, it takes from an A4 document only an A5 sized excerpt of the
original. If you want to see all of the document in the PDF you have to select
A3.
--
You are receiving this mail because:
You are watching all bug changes.
p***@web.de
2015-06-01 17:28:58 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=348507

--- Comment #2 from ***@web.de ---
Just found out more: the print size for the scanned and loaded/imported A4
document is set (automatically?) to 28.85 / 40.81 mm. (GIMP will show the
correct measurements: 20.72 / 29.36). The 28.85 / 40.81 mm are about A3
measurements. So the A4 PDF got loaded/imported in A3 size.
--
You are receiving this mail because:
You are watching all bug changes.
Sven Langkamp
2015-06-01 19:30:22 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=348507

Sven Langkamp <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #3 from Sven Langkamp <***@gmail.com> ---
What size does Krita show internally?
--
You are receiving this mail because:
You are watching all bug changes.
p***@web.de
2015-06-01 20:09:44 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=348507

--- Comment #4 from ***@web.de ---
When loading the PDF into krita it shows an image size of 817 x 1157 px. At 100
dpi, this should translate into about 20.75 x 29.39 cm.
In the screen "Image" - "Scale Image To New Size" , "Print Size", however, is
then shown as 28.85 / 40.81 "cm" (not "mm", as in my previous comment) while
"Pixel Size" is still 817 x 1157 px.
--
You are receiving this mail because:
You are watching all bug changes.
Stefano Bonicatti
2015-06-06 00:06:53 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=348507

Stefano Bonicatti <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #5 from Stefano Bonicatti <***@gmail.com> ---
I've created an A4(300ppi) document, that is 2480x3508 pixels, drawn something
on it, Export as PDF, selected ISO A4 and saved.
When opening with Okular and going to the properties it tells that the page
size is 8.26389x11.6944 (which is the original image dimension / 300ppi).
I've also reloaded the PDF into Krita giving me back a 2480x3509 pixels (1px
rounding error but...) image.
So i don't see the issue, but i'm using the last available Krita version
(namely the one compiled from calligra/2.9 branch).
--
You are receiving this mail because:
You are watching all bug changes.
Stefano Bonicatti
2015-06-06 00:19:22 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=348507

Stefano Bonicatti <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WAITINGFORINFO
Status|UNCONFIRMED |NEEDSINFO

--- Comment #6 from Stefano Bonicatti <***@gmail.com> ---
I've also tested right now with 2.9.4 version and i don't have that issue.
Is there something particular/specific you can tell us about the images you're
working with?
Do you still have the issue if you try how i did?
--
You are receiving this mail because:
You are watching all bug changes.
Sven Langkamp
2015-06-06 13:50:19 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=348507

Sven Langkamp <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Resolution|WAITINGFORINFO |---
Status|NEEDSINFO |CONFIRMED

--- Comment #7 from Sven Langkamp <***@gmail.com> ---
This is a valid bug. The problem is that when a pdf is imported with 100 dpi,
but the image internally used 72 dpi.
--
You are receiving this mail because:
You are watching all bug changes.
Stefano Bonicatti
2015-06-06 20:43:18 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=348507

--- Comment #8 from Stefano Bonicatti <***@gmail.com> ---
Git commit 98bca4585953aed94655786e6e4798127bdea495 by Stefano Bonicatti.
Committed on 06/06/2015 at 20:41.
Pushed by stefanobonicatti into branch 'calligra/2.9'.

Fix issue with import PDF dialog resolution

The resolution selected in the import dialog wasn't set in the generated
KisImage,
ending up with an image of the right size but with wrong dpi.

Removed, from the import dialog, the possibility to change horizontal and
vertical
resolution separately, since we don't give this possibility anywhere else in
the
program and since we always show it as a single value.

M +3 -1 krita/plugins/formats/pdf/kis_pdf_import.cpp
M +13 -16 krita/plugins/formats/pdf/kis_pdf_import_widget.cpp
M +1 -2 krita/plugins/formats/pdf/kis_pdf_import_widget.h
M +112 -105 krita/plugins/formats/pdf/pdfimportwidgetbase.ui

http://commits.kde.org/calligra/98bca4585953aed94655786e6e4798127bdea495
--
You are receiving this mail because:
You are watching all bug changes.
Boudewijn Rempt
2015-06-21 14:41:56 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=348507

Boudewijn Rempt <***@valdyas.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|CONFIRMED |RESOLVED
CC| |***@valdyas.org
Resolution|--- |FIXED

--- Comment #9 from Boudewijn Rempt <***@valdyas.org> ---
Closing now.
--
You are receiving this mail because:
You are watching all bug changes.
Fortsæt læsning på narkive:
Loading...