PDF adds black box, doesn't contain vector graphics

Post questions on how to use or achieve an effect in Inkscape.
Doofer
Posts: 4
Joined: Sun Jul 28, 2019 6:03 pm

PDF adds black box, doesn't contain vector graphics

Postby Doofer » Tue Jul 30, 2019 6:13 pm

I'm using Inkscape (0.92, Win 10) to produce a film poster, so that I can have a BIG poster with small, but still detailed, logos at the bottom, without having to specify insane resolutions/file sizes.

My image available here https://drive.google.com/file/d/17BFTBe3jfHA0DZkmMhoFRjl2gTS0c7LI/view?usp=sharing
Looks great in Inkscape. But I can't get this out of Inkscape!

1. When I 'Save As.PDF', I get something that is different from my .SVG: A big black box that is absent in my Inkscape project, and for some reason the vector graphics along the bottom are rendered as blurry raster images. Same with .EPS.
3. If I try Print.PDF printer, Inkscape crashes (I've tried a few PDF printers).
4. Opening the .SVG with other packages (GIMP, LIbreOffice) results in very different images.
5. Save As a raster image ( .PNG etc.) results in blurry text & logos... unless I go for insane resolution/file sizes.

Seems as if only Inkscape can render Inkscape?!

Polygon
Posts: 381
Joined: Thu Dec 19, 2013 3:27 am

Re: PDF adds black box, doesn't contain vector graphics

Postby Polygon » Wed Jul 31, 2019 1:35 am

Hi.
Your file already contains lots of rasterised images like "Homecoming", "Henry´s Walks", and the frame and all grouped inside groups inside groups inside groups inside groups etc.
Try to ungroup everything then try again:
Poster.png
Poster.png (200.25 KiB) Viewed 964 times

tylerdurden
Posts: 2337
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: PDF adds black box, doesn't contain vector graphics

Postby tylerdurden » Wed Jul 31, 2019 1:56 am

Some things I like to keep in mind...

Filtered objects will get rasterized on saving as PDF.

I'd try to find/make vector versions of all elements that need to scale cleanly.

Working at production size can show issues before exporting/saving.
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

tylerdurden
Posts: 2337
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: PDF adds black box, doesn't contain vector graphics

Postby tylerdurden » Wed Jul 31, 2019 3:02 pm

Digging deeper into the file, it looks like it was saved as a PDF then edited again in Inkscape... there is a plethora of groups, clips and masks not needed for this design.

Other items I keep in mind:
    Save a COPY as pdf, so the original SVG is retained for editing.
    After tracing bitmaps, delete the image at the bottom of the stack under the resulting scans.
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

Doofer
Posts: 4
Joined: Sun Jul 28, 2019 6:03 pm

Re: PDF adds black box, doesn't contain vector graphics

Postby Doofer » Wed Jul 31, 2019 11:46 pm

Thanks for the helpful advice.

Having done some experiments, I have concluded that:
- While Inkscape appears to import text in .PDFs okay, it often won't then export them again. Import a text .PDF and it displays, can be manipulated, but Save As.PDF and the text isn't there any more.
Conclusion: If you're going to want your text to be exported as vectors, add it in Inkscape.
- While Inkscape can export vector graphics (untick the 'rasterize filter effects' box), this seems to mean you can't do much with the vector graphics in Inkscape. For example, I imported a colour .SVG, made it B&W with Color.Greyscale, then had to choose either a bitmapped logo in my .PDF, or (untick the box) a colour one.
Conclusion: If you're going to use a vector graphic in an image that you'll want to export as a vector graphic later, do things to it before import into Inkscape.

tylerdurden
Posts: 2337
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: PDF adds black box, doesn't contain vector graphics

Postby tylerdurden » Thu Aug 01, 2019 3:32 am

ProTips:
    Work 1:1 scale
    Remove all clips and masks from imported PDFs
    Use vectors for logos, text, shapes
    Process linked bitmaps in GIMP
    Save working file as SVG
    Only output finished design to PDF (hence Save Copy to PDF)

Here's the poster made at full marquee size. The PDF has all vectors (save for the background image, which was stylized from the source).
Image
H3-TDfs.pdf_Properties_2019-08-03_22-01-23.jpg
H3-TDfs.pdf_Properties_2019-08-03_22-01-23.jpg (12.31 KiB) Viewed 871 times
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/


Return to “Help with using Inkscape”

Who is online

Users browsing this forum: Bing [Bot] and 4 guests