[Issue] Cannot get 300dpi image to insert at 100% size

Writing a book, Automating Document Production - Discuss your special needs here
Post Reply
slaphead
Posts: 8
Joined: Wed Sep 23, 2015 10:37 am

[Issue] Cannot get 300dpi image to insert at 100% size

Post by slaphead »

I am looking to submit a book to Ingram Spark soon and one of their requirements are that all images are 300dpi or above and "Inserted at 100% size"
I have been using OpenOffice now for seven years and never had to think about this, I have just inserted and resized by shift clicking in the corner of the image and dragging til it looked right. Now I have to conform to someone elses requirement.
I have resized all my images in Photoshop so that they are 300 dpi this has lead to some very precise sizes such as 2.6666666 inches (800 pixels at 300dpi)
If I insert the picture from file, OO fills the page with the image. If I scale it numerically I can get to 2.66 or 2.67 inches, but this gives me 798 pixels or 801 pixels which is not "100%" or "pixel for pixel"
If I then click "original size" it pops the picture back to filling the page.
It is as if OO ignores the images built in dpi setting. In Word I just click the "100%" button and the job is done.
Please tell me there is a way of doing this in OO
:crazy:
Last edited by Hagar Delest on Sun Oct 04, 2015 11:20 pm, edited 1 time in total.
Reason: tagged [Issue] (link to a bug report).
OpenOffice 4.1.1 Windows 7
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: cannot get 300dpi image to insert at 100% size

Post by RoryOF »

Try working in .png format (.png images are stored directly in OpenOffice, not resampled) and setting the picture ppi (note: ppi not dpi - your image editor should know about this) to 96 (or whatever your screen resolution is).
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
slaphead
Posts: 8
Joined: Wed Sep 23, 2015 10:37 am

Re: cannot get 300dpi image to insert at 100% size

Post by slaphead »

Thanks for the quick reply.
Ok, I'll give that a go
One of the other requirements is the image should be in CYMK at 240% ink density - Not a problem, I can sort that in PShop. Spark suggest Jpeg or Tiff with Jpeg compression. I cannot see anything that says you cannot use .png files. I assume there is a CYMK format of png?!
Guess I'll find out !
OpenOffice 4.1.1 Windows 7
slaphead
Posts: 8
Joined: Wed Sep 23, 2015 10:37 am

Re: cannot get 300dpi image to insert at 100% size

Post by slaphead »

Turns out .png files are RGB only.
I tried Tiff with jpeg compression and OO cannot read the format so I am back to dear old Jpeg and resizing manually.
Surely there is a way to import at correct physical size or to set a document resolution or something?

On a different note, the CYMK jpag has imported incredibly dark looking. I dont know if that will carry through to the PDF export or not

I'll let you know
OpenOffice 4.1.1 Windows 7
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: cannot get 300dpi image to insert at 100% size

Post by RoryOF »

I suspect the problem is the print resolution set in the graphics. This should (I think) match your screen resolution (usually 96 dpi, but check it). Once you get that matching your images should install at exact size. Then worry about CMYK/RGB.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
slaphead
Posts: 8
Joined: Wed Sep 23, 2015 10:37 am

Re: cannot get 300dpi image to insert at 100% size

Post by slaphead »

I have just looked at an image I know to be saved as 300dpi in the jpeg file - if I re open it in PShop it recognises it as 300 dpi and 2.6 inches wide at that resolution. Unfortunately OO thinks the image is 7.39 inches wide and that I have scaled it to 35% of the original size.
Basically it looks as if OO is, as you suggested, reading the screen resolution and ignoring the embedded resolution in the Jpeg file.
I am at work and dont have the option to run the monitor at 300dpi to test this theory. I am not even sure if I can change the dots per inch (or pixels per inch if you prefer) on the monitor
OpenOffice 4.1.1 Windows 7
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: cannot get 300dpi image to insert at 100% size

Post by acknak »

OO Writer is limited to two decimal places in a measurement, so 2.666... is always going to be rounded to 2.67.

But I'm not sure it matters that the result comes out to exactly 800 pixels. The image is being scaled anyway; a pixel or two shouldn't make a noticeable difference.

Maybe more importantly, OO does not support CMYK at all. If your printer requires data in CMYK, I don't see how OO is going to work.
AOO4/LO5 • Linux • Fedora 23
slaphead
Posts: 8
Joined: Wed Sep 23, 2015 10:37 am

Re: cannot get 300dpi image to insert at 100% size

Post by slaphead »

acknak wrote: But I'm not sure it matters that the result comes out to exactly 800 pixels. The image is being scaled anyway;
...
Maybe more importantly, OO does not support CMYK at all. If your printer requires data in CMYK, I don't see how OO is going to work.
I guess it depends how strickty Ingram Spark adhere to their pixel for pixel resolution requirement
Strangely OO has allowed me to import the CYMK jpg file, it just displayes it very darkly. If I do the old "change 'odt to .zip" trick and look at the image in PShop it is exactly as I saved it.... Unfortunately when I convert the file to PDF as Ingram require, then the image is very dark again.

Am I the only person doing a book with pictures using Open Office? - Surely there have been others that used POD printers. I know CreatSpace allow the use of RGB images so this is not that much of an issue, but Ingram are a pretty well known POD printer...
OpenOffice 4.1.1 Windows 7
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: cannot get 300dpi image to insert at 100% size

Post by RoryOF »

Do I remember that Scribus can do CMYK?
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
slaphead
Posts: 8
Joined: Wed Sep 23, 2015 10:37 am

Re: cannot get 300dpi image to insert at 100% size

Post by slaphead »

Alrighty, I'll have a look at Scribus and let you know...
OpenOffice 4.1.1 Windows 7
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: cannot get 300dpi image to insert at 100% size

Post by RoryOF »

There is a solution offered in this thread
viewtopic.php?f=11&t=35652
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
slaphead
Posts: 8
Joined: Wed Sep 23, 2015 10:37 am

Re: cannot get 300dpi image to insert at 100% size

Post by slaphead »

From that topic
davidgehlen wrote:(snip)...The other option is to flatten the PDF in Photoshop and then save as a Photoshop PDF in CMYK mode.
Just tried it and PShop opens each page of the pdf as an individual 13Mb image So I had 190 images open and none of the text editable :-/
It also wanted to save each page as its own pdf (unless I was missing something).
Just looking into Scribus now
yeesh... looks like I have a lot of new learning and then reformatting to do...
OpenOffice 4.1.1 Windows 7
Bidouille
Volunteer
Posts: 574
Joined: Mon Nov 19, 2007 10:58 am
Location: France

Re: cannot get 300dpi image to insert at 100% size

Post by Bidouille »

acknak wrote:Maybe more importantly, OO does not support CMYK at all. If your printer requires data in CMYK, I don't see how OO is going to work.
Enhancement required with issue 18674
slaphead
Posts: 8
Joined: Wed Sep 23, 2015 10:37 am

Re: cannot get 300dpi image to insert at 100% size

Post by slaphead »

Bidouille wrote:
acknak wrote:Maybe more importantly, OO does not support CMYK at all. If your printer requires data in CMYK, I don't see how OO is going to work.
Enhancement required with issue 18674
True, an enhancement would be required.
I submitted a bug about this but it was close as it turned out to be a duplicate of the issue you have posted here :-) Issue 126550 https://bz.apache.org/ooo/show_bug.cgi?id=126550

I must admit I do enjoy using AOO for book layout, I have tried Scribus and it just hangs when I import the text. It looks like my only option is to pay for Acrobat Pro and hope it can do what I want. Everyone mentions the monthly cost but the software is actually a yearly subscription so it will be about £140 or £190 for InDesign (sulk)!
OpenOffice 4.1.1 Windows 7
John_Ha
Volunteer
Posts: 9583
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: [Issue] Cannot get 300dpi image to insert at 100% size

Post by John_Ha »

slaphead wrote:I am looking to submit a book to Ingram Spark soon and one of their requirements are that all images are 300dpi or above and "Inserted at 100% size":
They are saying two things:

1 Give us 300 dpi or better so the image is good quality
2 If the printed image is to be 3" wide, then the image needs to have 3" x 300 dpi = 900 pixels or more

So, you need to:

1 Decide how wide your image will be on the page - say it will be 3.5"

2 Calculate the pixels needed as 3.5" x 300 dpi = 1,050 pixels wide. This is the minimum - it can be more if you want.

3 Use an external image editor (I use the excellent IrfanView, you could use Photoshop or GIMP or whatever) to re-sample the image to 1,050 pixels or more - but, critically, not less than 1,050 pixels wide.

4 If the image is a photo, save it as a JPG file. Insert it by any means except copy > paste. JPG files use lossy compression where fine detail is lost when the file is compressed. You can vary the Quality Factor, and the higher the QF (0 - 100), the less detail is lost, and the bigger the JPG file.

5 If the image is a graphic, or has text, or has blocks of same colour - ie it is not a photo - save it as a PNG file. Insert it by any means including copy > paste. PNG uses lossless compression and no detail will be lost. Do not use PNG for photos because the PNG file will typically be 3x bigger than the JPG file.

See [Tutorial] Some useful hints on using images for a discussion on how best to handle images in Writer.

See also Chapter 8 Working with Graphics in the OOo v3.3 Writer Manual
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
Post Reply