Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Export to PDF spoils image
#1
Hi,

I am at a loss. I have built a book cover with GIMP. When I export to PDF then open the PDF, there is a thick white stripe across the image. There is nothing like that in the original xcf file. This happens both in Linux Mint and in Windows 10. What is happening and how can I correct it, please?

(I have attempted to attach the files here for viewing but I am told the file sizes are too large. The same even with a screenshot.)

Many thanks for any help.
Reply
#2
Difficult to give any advice with scant information. You could use maybe dropbox or similar for the .xcf or imgur.com for the screenshot.

Screenshot more than 500KB? You can get an estimate of jpeg size when exporting as: https://i.imgur.com/6DDjJqI.jpg Tick the show preview button and pull the slider down.

Or are you using a HD monitor?

Regardless, what size is the image in pixels? How many layers does the .xcf contain?

Can you (1) export the image as a png, check that it is ok then (2) use command line Imagemagick to make the pdf as:

Code:
convert image.png  -density 300 image.pdf
Reply
#3
(01-30-2018, 02:56 PM)rich2005 Wrote: Difficult to give any advice with scant information. You could use maybe dropbox or similar for the .xcf or imgur.com for the screenshot.

Screenshot more than 500KB? You can get an estimate of jpeg size when exporting as: https://i.imgur.com/6DDjJqI.jpg Tick the show preview button and pull the slider down.

Or are you using a HD monitor?

Regardless, what size is the image in pixels? How many layers does the .xcf contain?

Can you (1) export the image as a png, check that it is ok then (2) use command line Imagemagick to make the pdf as:

Code:
convert image.png  -density 300 image.pdf

Thanks for your reply. Converting to png then to pdf works, thank you.

I'd still like to know why converting from xcf to pdf with GIMP doesn't work properly though.

In answer to your questions, the xcf image has 14 layers and its size is 5055 x 3078 pixels.

The xcf and pdf files may be viewed here: https://www.dropbox.com/sh/wwcb31hyl4ml1...Ua7Wa?dl=0
Reply
#4
Your pdf does not open on my computer (error: damaged file)
But I can see the white mark in the dropbox thumbnail

I tried to create a pdf by exporting from Gimp. I get the same white mark.

I exported as a png. No problem, that will print.

I created a pdf using a "pdf printer" that I have installed. Also no problem.
Reply
#5
That took a little finding, although should have seen the mis-matched layer name (survive and thrive eS) earlier.

It is the 'survive and thrive' text layer : https://i.imgur.com/0Apk1ZA.jpg

Which on its own look like: https://i.imgur.com/OYlbi9l.jpg

Easiest solution, delete the text layer, create a new one.
Reply
#6
Well done Rich.
Not easy to find the invisible eS.
Reply
#7
(01-30-2018, 07:27 PM)rich2005 Wrote: That took a little finding, although should have seen the mis-matched layer name (survive and thrive eS) earlier.

It is the 'survive and thrive' text layer : https://i.imgur.com/0Apk1ZA.jpg

Which on its own look like: https://i.imgur.com/OYlbi9l.jpg

Easiest solution, delete the text layer, create a new one.

Thank you! Now I know what to do to solve the problem. But just for my curiosity, why is it that I cannot see that big 'S' in GIMP, or perhaps, what would I have to do to be able to see it?
Reply
#8
(01-31-2018, 06:39 AM)rdh61 Wrote: But just for my curiosity, why is it that I cannot see that big 'S' in GIMP, or perhaps, what would I have to do to be able to see it?

1.
Make the "Survive and Strive eS" layer visible. All others invisible

2.
Enlarge the canvas size (Image > Canvas Size)
W: Leave as is at 5055
H: Double to 6156

3.
Use the Text Tool and click on the text to activate it.
Enlarge the text box to the size of the canvas (as per image 1)

4.
See second image
Zoom in on the area indicated by the arrow to see a small "e"
You have:
"Survive and Thrive" Liberation Serif size 142
"e" Sans 18 colour black
"S" Sans 5400 colour white

EDIT:
You are using the on screen option to set text font and size.
It is better to use the Tool Options to do this (with Text Tool active).

The on screen option used is to set some selected characters.
Tool Options is used to set all the text


Attached Files Image(s)
       
Reply
#9
(01-31-2018, 07:22 AM)Blighty Wrote:
(01-31-2018, 06:39 AM)rdh61 Wrote: But just for my curiosity, why is it that I cannot see that big 'S' in GIMP, or perhaps, what would I have to do to be able to see it?

1.
Make the "Survive and Strive eS" layer visible. All others invisible

2.
Enlarge the canvas size (Image > Canvas Size)
W: Leave as is at 5055
H: Double to 6156

3.
Use the Text Tool and click on the text to activate it.
Enlarge the text box to the size of the canvas (as per image 1)

4.
See second image
Zoom in on the area indicated by the arrow to see a small "e"
You have:
"Survive and Thrive" Liberation Serif size 142
"e" Sans 18 colour black
"S" Sans 5400 colour white

EDIT:
You are using the on screen option to set text font and size.
It is better to use the Tool Options to do this (with Text Tool active).

The on screen option used is to set some selected characters.
Tool Options is used to set all the text

Thank you!
Reply
#10
It could be a bug. Looking at the text mayer data it seems you have done a lot of editing on it:

Code:
(markup "<markup><span size=\"34816\"><span foreground=\"#000000\"><span font=\"Liberation Serif\"><b>Survive and Thrive</b></span></span></span><span size=\"37355\"> </span>e<span foreground=\"#ffffff\"><span font=\"Sans\"><span size=\"1327104\">S</span></span></span></markup>")
(font "Sans")
(font-size 18.000000)
(font-size-unit pixels)
(antialias yes)
(language "en-gb")
(base-direction ltr)
(color (color-rgb 0.000000 0.000000 0.000000))
(justify left)
(box-mode fixed)
(box-width 1793.000000)
(box-height 170.000000)
(box-unit pixels)
(hinting yes)


The only telltale sign on your image is that even thought the text box is "Dynamic" in the Text tool options, it is much wider than the visible text.
Reply


Forum Jump: