[Solved+Issue] Drag & drop images linked: how to embed?

Discuss the presentation application

[Solved+Issue] Drag & drop images linked: how to embed?

Postby fireba11 » Wed Feb 06, 2008 12:23 pm

When using drag & drop to add an image to a slide, larger images automatically get linked while smaller seem to get included.
How can i change that ?
I want all images included, is there an option to include linked images or something ?
Otherwise i would have to re-add and re-arrange quite a few images ...
Last edited by Hagar Delest on Mon Feb 02, 2009 4:49 pm, edited 4 times in total.
Reason: Added the Issue tag and modified the title.
fireba11
 
Posts: 3
Joined: Wed Feb 06, 2008 12:20 pm

Re: drag&drop links images - how to include those ?

Postby squenson » Wed Feb 06, 2008 9:13 pm

What do you mean by large images: images that are bigger than the slide, or images that are large files? Also, which format of images are you using (gif, jpg, png, ...)? Last question, which OS and version of OOo do you use?
LibreOffice 4.2.3.3. on Ubuntu 14.04
User avatar
squenson
Volunteer
 
Posts: 1885
Joined: Wed Jan 30, 2008 9:21 pm
Location: Lausanne, Switzerland

Re: drag&drop links images - how to include those ?

Postby acknak » Wed Feb 06, 2008 10:09 pm

Hmm, I'm surprized that size would be the determining factor.

I wonder if it may have to do with where the images are dragged from: drag an image file from the file manager or desktop and you get a link to the file. Drag an image that's already loaded in another application, and you get a copy.

That's just a guess.

It would help if we knew what system you're using, what applications you're dragging from, or what OOo version you're using. Have you read the Forum Survival Guide?
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: drag&drop links images - how to include those ?

Postby fireba11 » Thu Feb 07, 2008 9:43 pm

okay, so some more details:

OS: winXP

dragged from explorer, i also noticed that
insert > picture > from file
gives the same results.

the images i took are from digital camera, so > 1 MB and in original size bigger than my slide, yes
fireba11
 
Posts: 3
Joined: Wed Feb 06, 2008 12:20 pm

Re: drag&drop links images - how to include those ?

Postby JohnV » Thu Feb 07, 2008 10:55 pm

Drag & Drop links the picture to it source file. You can then embed the picture with Edit > Links > Break Link.
JohnV
Volunteer
 
Posts: 1585
Joined: Mon Oct 08, 2007 1:32 am
Location: Kentucky, USA

Re: drag&drop links images - how to include those ?

Postby fireba11 » Thu Feb 07, 2008 11:38 pm

working ..

but this is far from being intuitive ^^
fireba11
 
Posts: 3
Joined: Wed Feb 06, 2008 12:20 pm

Re: drag&drop links images - how to include those ?

Postby Phil » Fri Feb 08, 2008 4:21 pm

fireba11 wrote:i also noticed that
insert > picture > from file
gives the same results.

Yes, but not if you disable the link checkbox in the import dialog. Then the image is embedded.

fireba11 wrote:but this is far from being intuitive ^^

Full ACK!!
I would even go a step further: It is confusing.
OOo Writer behaves exactly the other way: Here Drag&Drop does embed the image instead of creating a link. I never understood why this difference in behavior is there.

But - there's more to come, as I just found out in a couple of tests:

If I Drag&Drop an image in Impress, and I embed the picture afterwards in the way JohnV has described, than the image is saved in the sort that the resulting file size can increase dramatically. In my case it happened with an JPG photograph which was compressed (716 KB).
Embedding it via insert > picture > from file (with the link checkbox disabled) leads to an .odp file with size of 767 KB. Embedding it by Drag&Drop and then breaking the link leads to an .odp file with size of 4,106 KB!
By renaming the .odp files to .zip (one of the greatest advantages of the ODF file formats - they are just ZIP files!!) you can see what happened: The file was converted to a PNG file which is considerably larger than compressed .jpg.
Does someone have an idea why this is happening?
I searched for issues on that with no success.

BR, phil
OOo 3.0.1 & DEV-3.1 • WinXP pro 32-bit + SP3 + current patches
Looking for OpenOffice-related information? Try the search engine on OpenOfficeNinja - a great tool!
My favorite extension: Alt. Find & Replace for Writer. All you need and much more...
OOo 2.4.X on Ms Windows XP
Phil
Volunteer
 
Posts: 802
Joined: Fri Nov 30, 2007 5:35 pm
Location: Germany

Re: [Solved] Drag & drop links images - how to include those ?

Postby acknak » Fri Feb 08, 2008 6:10 pm

Yep. I see that also. Very odd.

The only bug report I could find is this: Issue 60661: Impress converts jpg images to png resulting in big files and slow performance. It was marked as "WORKSFORME" a long time ago. I would suggest filing a new report, with the simpler procedure you described and an attached sample JPEG.

The conversion may be done for efficiency reasons. I wonder if it is faster to display a PNG image than a JPEG?
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: [Solved] Drag & drop links images - how to include those ?

Postby Phil » Thu Apr 17, 2008 2:18 pm

Coming back to that old one...

acknak wrote:The only bug report I could find is this: Issue 60661

In fact, issue #15508 (which is referred to in #60661) IMO exactly describes the problem.
So it is a good idea to vote for it! :)

acknak wrote:The conversion may be done for efficiency reasons. I wonder if it is faster to display a PNG image than a JPEG?

Could be the case, yes! However, PNG images should not be that much bigger in size (factor of 6!). And also, why are they only converted if the link is broken?

So this is really odd, but I think we cannot do more than voting for the issue...

KR, phil
OOo 3.0.1 & DEV-3.1 • WinXP pro 32-bit + SP3 + current patches
Looking for OpenOffice-related information? Try the search engine on OpenOfficeNinja - a great tool!
My favorite extension: Alt. Find & Replace for Writer. All you need and much more...
OOo 2.4.X on Ms Windows XP
Phil
Volunteer
 
Posts: 802
Joined: Fri Nov 30, 2007 5:35 pm
Location: Germany

Re: [Solved + Issue] Drag & drop images linked: how to embed?

Postby johnlim » Mon Feb 02, 2009 4:41 pm

I had similar problem and run the Sun Minimizer tool on the problem file, and am now able to see all the pictures instead of just links. So it seems the size of the pictures trigger off this problem. Each of my picture was at least 2.5mb, and had about 15 photos.

By the way, another problem i noticed was that the size and quantity of the photos seem to also cause Impress to crash occasionally triggering the report problem wizard to show up. For example when i get into slide sorter mode, Impress crash on a few occasions as it is painting the thumbnails of each slide. I now suspect it is related to the first problem.
OOo 2.4.X on Ms Windows XP
johnlim
 
Posts: 14
Joined: Mon Aug 11, 2008 6:36 am
Location: Singapore, China


Return to Impress

Who is online

Users browsing this forum: No registered users and 8 guests