Vector Graphics - are vectors preserved?

No, I said saving PDF was pretty much possible. It is not possible using the full range of UTF8 characters, such as Chinese. Thus, it is only pretty much possible, not fully possible. (Using the stock Xojo PDF generator).

We agree this part.

The problem with PDF is that it is a document format, not an image format. It can have multiple pages, etc. I wish to save graphs from my application, either generated by my own code or Xojo’s built in graphing engine. It would be great if there was a ‘sub-format’ PIF (portable image format). In an ideal world:

It would be limited to a single image, could contain text and graphics instructions and like PDF be vector or raster based. For my use vector would be perfect.

It should be able to embed fonts, if require.

The format would be recognised by HTML img tags and rendered by any application that could render PNG / JPG / GIF etc.

For me the ability to read the file wouldn’t be useful, but I fully expect others would expect that ability.

I simply ignore artists. Today they glue a banana to a wall and ask money for 1000 bananas.

1 Like

The main use for having the vector information is so the picture could be edited, saved to a SQL field, retrieved, and editied again. A proprietary format extracted from Picture.Objects seem most straight forward, but not convenient outside of this so far imaginary shape editor.

PDF would be good to show the drawing when the document is transferred via disk or eMail while containing the vector info as metadata so it could be opened and edited. I see lots of tools in the docs for creating a PDF. Is there one to load a PDF like the “Vector Picture - RoundRect.pdf”?

Yes, with RealCADD you can extract vector datas from pdf files.
But I don’t use pdf format to save RealCADD files.

1 Like

THE advantage with vector graphics is that it can when scaled the image quality is reserved. Try to zoom a .jpg image,it comes blurried. Vector graphics can be drawn small and large.It’s ideal for icons for example.

Vector graphics is different than bitmaps. Bitmaps are bits, like regular pictures from a camera. When you scalle up, you see large points and not the picture anymore.

1 Like