Best file format to send to the GF?

I found only one thread about PDF files vs SVG files. It wasn’t all that helpful in my opinion. I’ve been creating content in Affinity Designer and exporting them as a pdf for the Glowforge. Should I be exporting as svg instead? Is one better than the other? Or, does it just depend on the project?

1 Like

https://community.glowforge.com/search?q=pdf%20vs%20svg

We’ve had years to discuss this, search does not disappoint :slight_smile:

3 Likes

Yeah. Read that entire thread twice. It just sounds like personal preference to me. I just can’t figure out if one is somehow better than the other and why? I get the file size thing. Maybe larger files I use svg? I guess I’ll just need to experiment with both.

1 Like

Well… some programs make pdfs or svgs that don’t get interpreted very well by Glowforge, particularly with scaling issues or in cases where images aren’t properly embedded.

For example, AI has two ways to export svg, I think they’re “export“ and “save as”. One of those has issues with scaling and the other doesn’t (an AI expert can weigh in here).

If it were me I’d be looking for workflow suggestions for your particular tool chain, not so much worrying about the file format first. Are you having a problem you’re trying to resolve?

2 Likes

If you export from the GFUI it gives you an SVG. So I would think that would be the best format (closest to native)?

4 Likes

When I get a chance I’ll upload both a pdf and svg of the same project and look for differences. Just haven’t had the time yet.

1 Like

As far as interacting with GFUI, PDF and SVG shouldn’t make a difference.

That said, I feel like I’ve seen at least a few examples where some bug happened with SVG and not with PDF.

My preference has always been SVG, since SVG is a standard, open format. Where PDF is a proprietary format owned by Adobe.

All in all… it usually doesn’t matter.

4 Likes

PDF. :slight_smile:

2 Likes

SVG. :smiley:

2 Likes

honestly, i’ve only once ever had an issue with PDF (and it wasn’t really the PDF’s fault). personally i think it’s more reliable (and you don’t have to outline fonts).

but…

either will work well if properly created. it’s not really a huge deal if you’re making the files correctly.

instead of a “best format,” it’s really more “best way to make” whatever format you want.

2 Likes

Tastes Great!

Less Filling!

Honestly – it’s just personal preference as long as you use fully-compliant software such as Adobe Illustrator or Affinity Design. Many of the open source apps don’t use the same “official” libraries to generate PDFs in particular. At the end of the day, they are both just text files with special formatting codes.

My default is SVG, but I’ll bang out a PDF for a one-off design.

8 Likes

I try not to pick camps because both should work equally well, but I have zero luck with bitmaps in PDFs and they always come across with a weird moiré-ish pattern. I understand it has to be a setting in my specific Corel program, but I’ve never been able to sort it out. (But in fairness, I gave up a couple of years ago.)

2 Likes

I use both for my own stuff, but stick to PDF for anything I might also send to my wide-format printer, or email to someone, or send out for a different type of manufacturing process.

3 Likes

When you can’t find very specific information… it may be because no one has noticed a difference enough to declare one way or another :sweat_smile:

For what it is worth, I always use SVG and my spouse always uses PDF.

2 Likes

Not really.

I just made an image in Illustrator that looks like this:

The SVG, is indeed pretty much a simple text file, it looks like this:

But if you open the PDF in a text editor, it looks like this:

The PDF is more than 20x bigger than the SVG.

Now of course, it could probably be optimized… but finding good tools to work with PDF can be more challenging, given its proprietary nature.

You can read the SVG spec here:
https://www.w3.org/TR/SVG2/

And while Adobe does publish this: https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/PDF32000_2008.pdf

And both of these are very complicated, but I find the SVG spec much clearer to deal with.

Ultimately I still agree with everyone it’s mostly personal preference - but if you don’t have much preference yet, and are trying to decide, go SVG! :smiley:

4 Likes

if you plan on editing the text version of the file, that may be important.

if you just save a PDF with default settings of of Illustrator, it’s essentially an illustrator file in a PDF wrapper. you can open it right back up in illustrator and it will be pretty much the same as if you saved it as an AI file.

so to use a similar example (i made basically the same file in AI). i saved with illustrator defaults and the file was 400k. i made 3 changes on the main save as PDF screen in AI (turned off preserve illustrator editing, embed page thumbnails, and create acrobat layers) and the file was 50k. probably still much larger than the SVG, but it’s also directly printable from any printer because it has a lot more basic information in there than an SVG.

which brings us back to the original point. if you save them properly, they’ll pretty much do the same thing in GFUI. with PDF having the advantage of not needing outlined text.

in the end, honestly, 6 of 1 a half dozen of the other.

and if you really are in illustrator, you can just skip the whole export thing and just copy/paste through the clipboard (which is, if i understand correctly, essentially just an SVG type of format).

2 Likes

Not to get into the weeds, but you’re making my point for me :innocent:- they are both text files. I didn’t say they were identical or the same size, just that they were text.

1 Like

Advantages of PDF:

  • Text doesn’t need to be converted to curves (as long as your design software embeds the font into the PDF).
  • You shouldn’t ever have scaling problems (because PDF always stores sizes in real-world units, e.g., inches or cm) so the Glowforge doesn’t have to guess what scaling factor to use…
  • The Glowforge software supports both fill rules (even-odd and non-zero) in PDF files.

Disadvantages of PDF:

  • Some programs insert a lot of extra clipping paths into PDFs, which the Glowforge software doesn’t understand yet. You’ll get an error message and you’ll need to change the path from Cut to Ignore.
  • Sometimes the Glowforge software doesn’t import bitmaps correctly from PDFs.
  • Occasional other weirdness in the Glowforge software when importing SVGs, but this has mostly been fixed and I don’t think I’ve run across any problems in a few years.

Advantages of SVG:

  • The Glowforge software is very good at importing bitmaps embedded in SVGs.

Disadvantages of SVG:

  • Unless your software saves files at the same scaling factor (DPI) as the Glowforge expects, you may run into problems with the design importing at the wrong size on the Glowforge. (But you can work around this by either setting the page size to 20"×12" or making sure to set your software to save SVGs at 96 DPI. Adobe Illustrator and newer versions of Inkscape already default to 96 DPI.)
  • The Glowforge software has a longstanding bug (still not fixed after four years!) where it ignores the fill-rule setting in SVG files and always interprets fills using the nonzero file rule even if the SVG specifies fill-rule="evenodd" for a shape. This can be a big problem for users of Affinity Designer and CorelDRAW as those programs both tend to create shapes using the even-odd rule.
  • Any text in an SVG file needs to be converted to curves before being sent to the Glowforge. This is because you can’t embed fonts in an SVG so the Glowforge wouldn’t necessarily have the right font to render it. But luckily most of the major drawing applications have an option to automatically convert text to curves on export to SVG.
5 Likes

It’s actually SVG code.

1 Like

AI doesn’t really have scaling issues, just uncheck “responsive” when you export the SVG. It’s all good once you do that! (。•̀ᴗ-)✧

3 Likes