Bug 167258 - Trying to print a 5x7 image in writer
Summary: Trying to print a 5x7 image in writer
Status: RESOLVED DUPLICATE of bug 124498
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
25.2.4.3 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-27 02:50 UTC by David Pickett
Modified: 2025-06-28 16:57 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
test ODF with 7x5 landscape and inserted image scaled to fit (112.43 KB, application/vnd.oasis.opendocument.text)
2025-06-27 04:00 UTC, V Stuart Foote
Details
7x5 of rotated jpg (474.35 KB, application/vnd.oasis.opendocument.text)
2025-06-28 15:08 UTC, David Pickett
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Pickett 2025-06-27 02:50:54 UTC
Description:
Being frustrated with many photo apps, I thought if I went to Writer image insert I could get the printout I wanted, but I put the paper in 7 wide 5 high and rotated the image 90 degrees.  I could not resize it, as it either ignored me or stretched the image in one dimension.  I put the paper in 5 wide and went back to portrait, and it was willing to let me resize and center it.

Steps to Reproduce:
1.See above
2.
3.

Actual Results:
See above

Expected Results:
Able to print photo paper both portrait and landscape equally well with properties all size and ratio preserved, image centered.


Reproducible: Always


User Profile Reset: No

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: StartModule
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no

25.2.4.3 x86_64 (Cannot text copy the about popup!)
Comment 1 V Stuart Foote 2025-06-27 03:56:50 UTC
Can't confirm.
Version: 25.2.4.3 (X86_64) / LibreOffice Community
Build ID: 33e196637044ead23f5c3226cde09b47731f7e27
CPU threads: 28; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

From the Sidebar Styles Deck, set the Page style to Landscape (or use New to copy the style). Adjust the page size to 7.0" by 5.0" and set desired margin in the style.

Now paste a PNG into the resized page.

The image you paste with keep its ratio, but will fit the horizontal space between margins.

Use l-mouse click&hold on a corner to resize keeping ratio.

Use <Shift>+l-mouse click&hold on a corner to resize x & y will scale independently to fit.

(In reply to David Pickett from comment #0)

> 25.2.4.3 x86_64 (Cannot text copy the about popup!)

There is a copy button next to the "Version information" label on the dialog.
Comment 2 V Stuart Foote 2025-06-27 04:00:03 UTC
Created attachment 201506 [details]
test ODF with 7x5 landscape and inserted image scaled to fit
Comment 3 m_a_riosv 2025-06-27 23:35:38 UTC
why not use, Impress with Menu>Insert>Media>Photo album
Comment 4 David Pickett 2025-06-28 15:03:01 UTC
I did not paste, I used insert image, not png but jpg, set page size using format page, image came up, had to rotate 90 degrees, grabbed corned and it would not grow, although it moved over a bit.
Comment 5 David Pickett 2025-06-28 15:08:03 UTC
Created attachment 201533 [details]
7x5 of rotated jpg

Here is the problem file.
Comment 6 V Stuart Foote 2025-06-28 16:57:02 UTC
(In reply to David Pickett from comment #5)
> Created attachment 201533 [details]
> 7x5 of rotated jpg
> 
> Here is the problem file.

OK thanks. Issue is with the rotation and then scaling image. The rotated width can not be greater than the page height.  A duplicate of bug 124498

Of course the page size could just be set to the image's properties, so for this cute 7 x 5in. image, set a 7 x 5in. page with no margins. It fits fine and scales down to fit if margins are set.

The print engine/driver would then have to rotate if sending to physical printer with 5 x 7 format paper.

*** This bug has been marked as a duplicate of bug 124498 ***