<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - FILEOPEN: graphics/images other than SVG are opened in Draw to default page size with margins, would be better to open onto a Draw document canvas sized to the image and without margins"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=128270#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - FILEOPEN: graphics/images other than SVG are opened in Draw to default page size with margins, would be better to open onto a Draw document canvas sized to the image and without margins"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=128270">bug 128270</a>
from <span class="vcard"><a class="email" href="mailto:vstuart.foote@utsa.edu" title="V Stuart Foote <vstuart.foote@utsa.edu>"> <span class="fn">V Stuart Foote</span></a>
</span></b>
<pre>(In reply to Gerry Garvey from <a href="show_bug.cgi?id=128270#c4">comment #4</a>)
<span class="quote">> Does this need a dialogue with user if they open an image file and LO needs
> to create a new document? This could allow user to select how they wanted
> the document to be created - page size (full page or fit to size), margins
> (yes/no), populate document properties from image file meta-data (yes/no).</span >
I'd prefer not to complicate things. Would think the default 'Open' import
filter handling should consistently just result in a Draw canvas sized to the
image's bounds--a bounding box, or image size in pixels, or image size in
measurement units. Reduce it to reasonable units if too far oversize--but
handle the opening at the image's aspect ratio -- minimal or no margins to
canvas edge. We'd always 'Open' into Draw.
The 'Insert' import filter should, where appropriate, resize and shrink the
image keeping aspect ration so as to fit within margins of a document page. I
don't think we need resize and expand to image--but if simpler in the filter to
do so then fine.
I would think doing these adjustments for all image formats, the filters would
cover common worklows with the simplest refactoring of the filters.
Reconfigurations for 'Insert' filters, or OLE embedding workflows, would
support directly creating new a document page (i.e. other than Draw module)
from the incoming image.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>