All Questions
Tagged with vector-graphics pdf
53
questions
0
votes
1
answer
62
views
Replacing raster images in a PDF with vector images
I'm looking to do the exact opposite of what this person wanted to do: Replacing vector images in a PDF with raster images
In other words, I want to take pdfs with a mix of raster and vector images ...
1
vote
0
answers
55
views
How might I get information (specifically, area) about vector shapes using Python?
I'll cut the preamble.
In a perfect world, I'd have a script with which I can parse a PDF, grab all vector shapes of a given description (stroke colour would be ideal in this scenario but I may be ...
1
vote
1
answer
101
views
Pixels shown when saving colormap as vector graphics
I'm plotting (using pcolormesh) some colourmap figures to be added to my report written in Latex. I hope to save the figure as pdf so that I could use vector graphics in my report and Latex is happy ...
1
vote
0
answers
2k
views
Why is it so hard to extract vector graphics from PDF?
There are many tools to extract raster graphics from PDF files like pdfimages.
Raster graphics are defined a dictionary of type XObject with subtype Image, a filter and a stream with the data. This ...
-1
votes
1
answer
209
views
Adobe Illustrator - Image Tracing and saving as PDF file
I'm making design for juice labels, and my design requires fruits, something like a drawing. So I used image trace on few fruit images and it works well.
In my Illustrator artboard it looks like this:
...
5
votes
0
answers
854
views
Change Xcode "image size" of a vector PDF asset
I'm updating an existing macOS app with new images.
One of them is a vector image in PDF format. When I add the PDF to an image set, Xcode determined a size for it:
The existing dialog has a larger ...
0
votes
0
answers
284
views
Convert pdf to pdfx maintaining vector graphics / without rasterisation (e.g. using ghostscript)
I would like to save a pdf to a pdf/x.
The pdf contains a vector graphic.
When I convert it using ghostscript v9.53.3 on windows 10 and using...
gswin64c -dPDFX -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -...
0
votes
1
answer
649
views
Saving filled contour plots to PDF in R gives pixelated results
Saving the output of one of R's built-in examples for the filled.contour function to PDF:
pdf('test.pdf')
require("grDevices")
filled.contour(volcano, asp = 1)
dev.off()
produces a ...
19
votes
4
answers
6k
views
Why do PDFs resized in SwiftUI getting sharp edges?
I try to include a pdf in my SwiftUI enabled app using Xcode 11.4 and iOS 13.4. However, when I resize the pdf, it gets crips edges. I have included two versions of the pdf: One large pdf (icon.pdf) ...
-1
votes
1
answer
2k
views
Replacing text in .ai, .pdf, .eps etc for print in Python
My problem boils down to this: I have an Adobe Illustrator file with a simple pattern to be etched into an object using a laser. Each object has an ID tag that until now has been manually edited ...
0
votes
2
answers
307
views
How to merge 2 pdf vector image assets in Swift
I have two vector images. I want to merge them so the dots appear on top of the first image.
The solutions for regular png assets don't work, as they use the actual size of the image, and the combined ...
2
votes
1
answer
931
views
PDF to EPS or PS to EPS conversion maintaining page size
I need to convert a PDF or Postscript file to EPS, I tried using Ghostscript with the following command to convert Postscript to EPS:
gswin32.exe -o output.eps -sDEVICE=eps2write -dFitPage input.ps
...
19
votes
2
answers
6k
views
Xcode 11 PDF image assets "Preserve Vector Data" not working in SwiftUI?
I'm trying to use vector-based PDF images using "Single-Scale" in an app I'm working on using SwiftUI in Xcode 11, but the image always looks blurry when I scale it up in size.
I had no trouble with ...
0
votes
1
answer
56
views
Export PDF graphics without shape contours and filling areas becoming separated
I have encountered this issue with numerous PDF figures (the figures themselves are PDFs embedded in PDFs):
In the PDF viewer the figure looks nice, shapes such as circles and arrowheads are solid, ...
10
votes
0
answers
6k
views
Use PDF vector graphics in Android Studio
I have PDF image assets from an iOS project that I need to add to an Android Studio project. Is it possible to add PDFs to Android studio, or do I have to use an external converter like Gimp or ...