I've recently came across a blog post about how you can use Photoshop PDF files as vector images: http://mattgemmell.com/2012/02/10/using-pdf-images-in-ios-apps/
Basically you can achieve quality scalability and I guess save on file size.
However, compressing into a PDF as opposed to PNG seems to kill transparency, meaning you get a white background by default.
This seems like an interesting technique, but it would be far more useful if we the PDFs could somehow retain transparent parts like PNGs do. Does anyone have any ideas or techniques on how this effect could further be achieved? Thanks
Transparency in PDF files. This effect can be used for a number of reasons: It makes underlying image objects shine through, so it is useful for emulating glass, fog, varnish but also shadow. Adding a drop shadow to text or images is one of the most popular uses of transparency.
Other preflight engines like PitStop Professional can also be used to detect transparency. To designers, it is not always obvious when their files contain transparency. InDesign has a very nice mechanism for this. Pages that contain transparent objects have a checkerboard pattern in the pages list.
PDF 1.4 (the file format supported by Acrobat 5) was the first version of PDF that supported transparency. This PDF release came to market around the same time that Adobe Illustrator 9 was launched. Transparency was ‘the’ big new feature in that release.
Adding a drop shadow to text or images is one of the most popular uses of transparency. It can be used to show parts of objects that are normally hidden from view. Transparency can be used to lighten (parts of) images so that the text on top remains readable.
PDF's rendered by iOS maintain transparency. Including the code you refer to will retain transparency.
If you are seeing white, make sure:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With