Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
05-03-2014, 03:10 AM
|
#1
|
Member
Registered: Oct 2009
Location: Greece
Distribution: ubuntu 18.04
Posts: 89
Rep:
|
jpeg pictures in Libreoffice 4.2.3.3 writer not very clear
Hello everybody
I use libreoffice writer for my records: I scan my notes and then save them in jpeg format after processing them with gimp.
So, every record consists of text and inserted jpeg pictures.
After installing ubuntu 14.04 I have libreoffice 4.2.3. Yet the pictures in the records appear "truncated" , unclear and of low quality .With the version of libreoffice in ubuntu 12.04, there was no problem. Not only the new ones (that could be an issue with the new gimp version) but also the older ones that were processed with the older gimp version
Also, it is not a matter of stretching of the pictures since the dimensions are identical with which they used to be
When I open a picture with another application e.g image viewer and stretch it to the same dimensions, it is much better than within writer.
So, it is clear that it has to due with libreoffice . I tried the settings but couldnt find anything
Any ideas??
Last edited by joham34; 05-05-2014 at 02:21 AM.
Reason: wrong meaning of a word I used
|
|
|
05-03-2014, 05:12 AM
|
#2
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep: 
|
I cannot replicate your problem. I have attached a screenshot of a photo file being attached to a Libreoffice Document (in fact your post). As you can see, there are no problems of the sort you describe. Can you explain the method that you used to insert the image into your document. I simply selected Image from the Insert menu and then filled in the From File... item. It came out perfectly.
jdk
Last edited by jdkaye; 05-03-2014 at 05:15 AM.
|
|
|
05-03-2014, 12:17 PM
|
#3
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,688
|
HOW are you saving them in gimp?
in the current 2.8.10
the "save as" saves the image as a xcf gimp format image
yo have to use "export" and choose the format
BUT REMEMBER that jpg is a "lousy" format in that is removes DATA permanently from the image in the compression
a 60% resaved as a 60% only has 36% of the original information in the image
as to libreoffice
it uses the dpi setting in the metadata of the jpg
you likely would need to just resize the image in the document
Libreoffice 4 is VERY different than Libreoffice3
|
|
|
05-04-2014, 03:16 AM
|
#4
|
Member
Registered: Oct 2009
Location: Greece
Distribution: ubuntu 18.04
Posts: 89
Original Poster
Rep:
|
Thanks for your reply
Quote:
Originally Posted by jdkaye
I cannot replicate your problem. I have attached a screenshot of a photo file being attached to a Libreoffice Document (in fact your post). As you can see, there are no problems of the sort you describe. Can you explain the method that you used to insert the image into your document. I simply selected Image from the Insert menu and then filled in the From File... item. It came out perfectly.
jdk
|
I scan my records and then save them in jpeg with gimp and then incorporate them in writer. Below are 2 images of a part of a record opened with the two libreoffice versions (used printscreen and zoomed them twice). The archive (document) is the same for both cases (is saved on a flash) and is opened in the first case with the old libreoffice and in the second with the new. Exactly the same hardware is used, my pc is dual boot and I have both ubuntu 12.04 (used forthe first image with old libreoffice ) and ubuntu 14.04 (the second with the new one)
|
|
|
05-04-2014, 03:23 AM
|
#5
|
Member
Registered: Oct 2009
Location: Greece
Distribution: ubuntu 18.04
Posts: 89
Original Poster
Rep:
|
Thanks for your reply
Quote:
Originally Posted by John VV
HOW are you saving them in gimp?
in the current 2.8.10
the "save as" saves the image as a xcf gimp format image
yo have to use "export" and choose the format
BUT REMEMBER that jpg is a "lousy" format in that is removes DATA permanently from the image in the compression
a 60% resaved as a 60% only has 36% of the original information in the image
as to libreoffice
it uses the dpi setting in the metadata of the jpg
you likely would need to just resize the image in the document
Libreoffice 4 is VERY different than Libreoffice3
|
Yes, of course I use export instead of save as with the new gimp. The problem has nothing to do with gimp though since also the scanned images (before new gimp) also appear truncated and also the new gimp-processed images appear normal within old libreoffice
Of course Jpeg is lossy but have not had this problem since about 2009 that I use it
It has definitely to do with libreoffice. Please see the thumbnails attached (in my answer to jdkaye) to see the difference
Also the images have exactly the same dimension on my screen (measured by hand with a ruler) so I dont thing it has to do with resizing. The images appearing reminds me of lower resolution ones.
Do you know if there is a picture resolution setting in L.O??
Last edited by joham34; 05-04-2014 at 03:28 AM.
Reason: forgot something
|
|
|
05-04-2014, 05:19 AM
|
#6
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep: 
|
Quote:
Originally Posted by joham34
I scan my records and then save them in jpeg with gimp and then incorporate them in writer. Below are 2 images of a part of a record opened with the two libreoffice versions (used printscreen and zoomed them twice). The archive (document) is the same for both cases (is saved on a flash) and is opened in the first case with the old libreoffice and in the second with the new. Exactly the same hardware is used, my pc is dual boot and I have both ubuntu 12.04 (used forthe first image with old libreoffice ) and ubuntu 14.04 (the second with the new one)
|
What I'd need to see is the jpeg file that you're trying to insert into a in a libreoffice document. The two images you attached seem pretty much the same and are just fragments of your notes (written in Greek). I don't know what you're trying to do and what this has to do with Libreoffice.
jdk
Last edited by jdkaye; 05-05-2014 at 01:49 PM.
|
|
|
05-04-2014, 11:24 AM
|
#7
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,688
|
Quote:
Also the images have exactly the same dimension on my screen (measured by hand with a ruler
|
odd?
truncated would mean that one would be LARGER than the other
and that not all the image of the larger one would be displayed
if not all the image is being displayed then it needs to be resized in libreoffice
So that it will fit into the space provided in the document
that is the " Dots Per Inch " the resolution needs
and LL3 did things differently than the current LL4
|
|
|
05-05-2014, 02:19 AM
|
#8
|
Member
Registered: Oct 2009
Location: Greece
Distribution: ubuntu 18.04
Posts: 89
Original Poster
Rep:
|
Quote:
Originally Posted by John VV
odd?
truncated would mean that one would be LARGER than the other
and that not all the image of the larger one would be displayed
if not all the image is being displayed then it needs to be resized in libreoffice
So that it will fit into the space provided in the document
that is the " Dots Per Inch " the resolution needs
and LL3 did things differently than the current LL4
|
Yes, you are right, truncated is a wrong word for what I try to describe . I you notice the two thumbnails on my previous message, you can see that the lines of the hand written letters are definitely smoother and clearer on the first one (the one with the old L.O)
Size is exactly the same on both images
Unfortunately I cannot attach the whole record, it is too large
|
|
|
05-05-2014, 02:29 AM
|
#9
|
Member
Registered: Oct 2009
Location: Greece
Distribution: ubuntu 18.04
Posts: 89
Original Poster
Rep:
|
Quote:
Originally Posted by jdkaye
What I'd need to see is the jpeg file that you're trying to into a in a libreoffice document. The two images you attached seem pretty much the same and are just fragments of your notes (written in Greek). I don't know what you're trying to do and what this has to do with Libreoffice.
jdk
|
THe images are quite different acutally. If you notice the lines of the hand written letters on the first they are much smoother and clearer. I cannot attach the whole jpeg image or even the record because they are both quite large and the limit is 256 kb.
What is important is that both thumbnails are taken on exactly the same machine and same resolution etc but still they appear different depending on which L.O opens them
|
|
|
05-05-2014, 02:46 AM
|
#10
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep: 
|
As I said, I'd need to see the original jpeg files that you're trying to incorporate into a Libreoffice document. As I showed you above, I don't have any problem either with resolution or autofitting the photos onto a page using Libreoffice.
jdk
|
|
|
05-05-2014, 11:13 AM
|
#11
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,688
|
Quote:
definitely smoother and clearer on the first one (the one with the old L.O)
Size is exactly the same on both images
|
so it is the " antialiasing " setting
that should be able to be set the the preferences in LO4
also the JPG "noise" artifacts are very noticeable and very annoying on images of text
those "blocks" just jump right out and scream " hear i am"
Last edited by John VV; 05-05-2014 at 11:15 AM.
|
|
|
05-06-2014, 02:31 PM
|
#12
|
Member
Registered: Oct 2009
Location: Greece
Distribution: ubuntu 18.04
Posts: 89
Original Poster
Rep:
|
Quote:
Originally Posted by John VV
so it is the " antialiasing " setting
that should be able to be set the the preferences in LO4
also the JPG "noise" artifacts are very noticeable and very annoying on images of text
those "blocks" just jump right out and scream " hear i am"
|
Antialiasing setting would be the most reasonable think to solve this issue but unfortunately did not work. When I tried it, it didnt change anyting -at least anything I could notice.
I agree about the Jpeg noice but the fact here is that the same jpeg arhive opened in the old LO looks better than that in the new one.So I dont think this is a matter of jpeg noise, rather a LO one
Anyway, it is not so anoying, Ill survive
Thank you for your effort to help
Last edited by joham34; 05-06-2014 at 02:33 PM.
Reason: I jforgot something
|
|
|
05-06-2014, 06:37 PM
|
#13
|
LQ Guru
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,196
|
The second (bad) image is exactly what I get when I compress a JPG too aggressively or reduce the color space.
But you say the JPG files are identical, they only look different in the different LO versions?
LO's decompressing algorithm might be flawed, but I assume they would use some standard library for that. Which would not normally change from one version to the next. But it might have changed this time.
Are you linking to the image files, or do you include them? If you include them, does the file size differ?
jlinkels
|
|
|
05-07-2014, 09:17 AM
|
#14
|
Member
Registered: Oct 2009
Location: Greece
Distribution: ubuntu 18.04
Posts: 89
Original Poster
Rep:
|
Quote:
Originally Posted by jlinkels
The second (bad) image is exactly what I get when I compress a JPG too aggressively or reduce the color space.
But you say the JPG files are identical, they only look different in the different LO versions?
LO's decompressing algorithm might be flawed, but I assume they would use some standard library for that. Which would not normally change from one version to the next. But it might have changed this time.
Are you linking to the image files, or do you include them? If you include them, does the file size differ?
jlinkels
|
Thanks for your answer.
I include (paste, not link) jpeg images in LO docs. And the loss of quality affects all documents jpegs, not only the ones since ubuntu 14.04 (that came with LO 4.2.3) So presumably they have changed some library or something like that
|
|
|
05-07-2014, 05:50 PM
|
#15
|
LQ Guru
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,196
|
When you create two documents, one in old LO, one in the most recent version of LO.
In each document you past the same JPG picture. The picture should be a reasonable size, so the size is significant as compared to the overhead, 200k or so.
When you save the two documents, is there a significant difference in size of the two?
You see, the JPG image in the old version resembles an image with a compression quality of ~80. While the image in the new version seems to be compressed with quality=30.
Now LO is not supposed to compress or change the quality. But if you compare the sizes of the two version you might see a hint in a direction.
jlinkels
|
|
|
All times are GMT -5. The time now is 09:02 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|