[Libreoffice-bugs] [Bug 157750] Individual image saved as PDF creates 0-byte file (and invalid PDF before that)

2023-10-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157750

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

Summary|Individual image saved as   |Individual image saved as
   |PDF creates 0-byte file |PDF creates 0-byte file
   ||(and invalid PDF before
   ||that)
Version|7.0.0.3 release |5.3.0.3 release
   Keywords|bibisected, bisected|bibisectRequest,
   ||implementationError

--- Comment #6 from Stéphane Guillou (stragu) 
 ---
(In reply to Julien Nabet from comment #5)
> JPG a raster format saved in a vector graphic data type (here PDF), I don't
> know at all what should be done here.
> Of course, feel free to revert my patch if you feel like.

Fully agreed that it is an odd use case, so we either:
- get rid of this particular filter path; or
- we make it work in an acceptable way (e.g. embed a bitmap inside a
single-page PDF of page size equal to the size of the bitmap)

I had a look at a bit more history, and the PDF option is only available since
libreoffice-5.3.0.0.alpha1.

Let's make this an implementation error from back then, and see if someone can
bibisect what introduced it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157750] Individual image saved as PDF creates 0-byte file

2023-10-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157750

Aron Budea  changed:

   What|Removed |Added

 Blocks||103378
 CC||aron.bu...@gmail.com


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=103378
[Bug 103378] [META] PDF export bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157750] Individual image saved as PDF creates 0-byte file

2023-10-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157750

Julien Nabet  changed:

   What|Removed |Added

 CC|serval2...@yahoo.fr |

--- Comment #5 from Julien Nabet  ---
JPG a raster format saved in a vector graphic data type (here PDF), I don't
know at all what should be done here.
Of course, feel free to revert my patch if you feel like.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157750] Individual image saved as PDF creates 0-byte file

2023-10-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157750

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=60
   ||684

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157750] Individual image saved as PDF creates 0-byte file

2023-10-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157750

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

  Component|LibreOffice |filters and storage

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157750] Individual image saved as PDF creates 0-byte file

2023-10-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157750

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

 CC||serval2...@yahoo.fr,
   ||stephane.guillou@libreoffic
   ||e.org
 Blocks||47148
Version|7.0 all versions|7.0.0.3 release
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1
Summary|Individual image saved as   |Individual image saved as
   |PDF in Writer creates 0 |PDF creates 0-byte file
   |byte file size  |
   Keywords|regression  |bibisected, bisected
 OS|Windows (All)   |All
  Component|Writer  |LibreOffice

--- Comment #4 from Stéphane Guillou (stragu) 
 ---
In 6.4, you could rename the file with the .jpg extension and it would show the
image. It was exporting the file as a jpg but with PDF as the extension.

In 7.0, we get the 0-byte file.

Same in Calc.

Bibisected with the linux-64-7.0 repository to
2f93d2a88f8daf268f9554bd0c82cde4056a8546 which points to core commit
36962d9cc105d2c98889ee841438823fce090dfb which is a cherrypick of:

commit  7272a2edf113f29edeb8987ce649f85b776d9d23
author  Julien Nabet   Tue Jul 07 10:23:28 2020 +0200
committer   Julien Nabet   Thu Jul 09 09:10:54
2020 +0200
tdf#60684: graphic type content must correspond with graphic type extension
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98239

Not calling it a regression, as before that commit the export was already
wrong. But Julien, what do you think?


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=47148
[Bug 47148] [META] Image handling problems
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 157750] Individual image saved as PDF creates 0 byte file size

2023-10-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157750

Kira Tubo  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=13
   ||5597
   Keywords||regression

-- 
You are receiving this mail because:
You are the assignee for the bug.