Is there a way for my designer to create an Adobe Illustrator export or particular file type that can contain variable substitution so images or text within the template image can be replaced at runtime to generate new png's for a website?
Once I have the template I want to bind data at the time of request to generate a new image.
The solution is to use Adobe Scene 7 with Illustrator to upload / convert .ai files into .fxg which parameterizes any layer / object in Illustrator art and allows you to modify the items at runtime via an addressable URL. This is a paid service, but I imagine slimmed down version of this could be accomplished using an SVG implementation.
Related
I have very specific task in Delphi 2010 with PDF. After some days fight I want to ask your help.
Task:
open pdf in embedded viewer component on a form
define a rectangle with mouse on the document
add into the rectangle stamp annotation from image file (BMP or PNG or JPG). The image must be stretched to the selected rect.
I try to use next components:
Acrobat Reader ActiveX (TAcroPDF)
Gnostice PDF Toolkit
Debenu PDF library
At the moment I have crazy mix of problems.
Acrobat can show PDF and can show annotations but has a methods to select a rectangle and to add a stamp from an image file.
Gnostice can show PDF, can select a rectangle BUT can not add annotation from image file and can not read all new 1.7 PDF files.
Debenu has no viewer but can read all files, can add a stamp fro image file.
Now I have almoust working solution with using all 3 libraries (each for own part of the task).
But some times acrobat library (or any other) raises exception like "can not save file" and other ones. I killed all concurence for processed PDF file (at one moment only one component exists, all other is destroyed).
The main question is not to help to kill the exceptions... But show me a way or library to solve the task. Maybe exist a PDF library for Delphi which I do not know... and this wonderful library can solve the task.
Thanks.
I would suggest not using TAcroPDF all together.
please see this post: TAcroPDF loses resolution after form has resized.
furthermore:
Debenu PDF library can render, modify and save PDF files as an Image - if you simply just have to show the user a preview - using debenu - create a temporary image file and show it in a TImage - Then use the rest of the Library to save the actual .PDF or do whatever you need to.
I created a template for a document i want to use, in photoshop.
I want to share this document as a PDF file.
I want some of the text i made in photoshop to work as hyperlinks and direct ppl to websites.
How do i save a photoshop file as a PDF and get hyperlinks to work in the PDF file?
I have tried using the slice tool. It works to assign a url and target.
But when saved as a PDF the links do not work.
Anyone?
I know that indesign allows for saving pdf documents in either print or web format. the latter allows for hyperlinks to be available. if photoshop does not offer this you can always add them in acrobat (not reader) and then resave the .pdf.
I know that I can use ImageMagick's convert tool to turn different image files into PDF documents. However, is there some way to specify what version of PDF document I want to use for the output? Can I convert an image to a PDF v1.4 document?
I am trying to find a way to automate the conversion of image files (probably SVG) to PDF files that need to be sent to a printing service. The printer's service requires the PDF files to meet certain requirements, and one of them is that the PDF file is v1.4. My version of convert is "6.5.7-8 2010-12-02 Q16".
Thanks,
Carl
This question on superuser.com
https://superuser.com/questions/193791/batch-convert-pdf-versions
will give you some hints how to change the version number in the PDF afterwards.
From my Delphi application I require to create a PDF document that is PDF/X-3:2002 compliant.
This is a strict requirement of the client as the PDF files are going to be printed in a printing press.
I have wPDF but it does not support. (Please see: http://wpcubed.com/forum/viewtopic.php?t=5693)
If no component currently exists, then what techniques and other software can I use to accomplish this? The application allows the user to add images and rich-text onto templates (TPanels) that should make up the pages of the PDF.
How do you manage your color?
If you use RGB Colors in your Delphi application to handle the image, PDF/X-3:2002 won't be just a matter of tagging.
The PdfLib do handle this format, and can be used in Delphi.
I guess that default PDF/A-1 settings will meet most of the PDF/X-3 requirements, especially:
Embed fonts;
Include color profile;
Contain metadata.
Our Open Source engine is able to produce PDF/A-1 files - if you take a look at the specs, you may be able to generate PDF/X-3:2002 compliant PDF files.
I have an SVG file that I would like to display via Raphael (each svg file is a node in a tree I'm trying to draw, the actual connections of the tree will be made by raphael). I tried something like:
var vector_image = paper.image("test.svg", 50,50,50,50);
but no dice, seems only "real" image files like png or jpeg are accepted? I find this very strange as Raphael itself uses Scalable Vector Graphics.
Is there anyway (short of parsing the SVG files into javascript snippets and pasting them into the html document) to display existing SVG files using Raphael (or any other vector based javascript graphical engine?)
If parsing it will have to be, is there any easy way to do this, short of just manually scraping the files? I'm running this code on a Ruby on Rails server, so I'd like to avoid solutions outside this framework, if possible (I've heard of one PHP solution through this site...I'd rather code by hand than add another language onto this project).
-Jenny
It's currently not possible to display existing SVG with Raphael, and there are apparently no plans for the implementation of SVG editing (see this forum post).
As for alternative JavaScript libraries, a newer alternative is Snap.svg, which can load external SVG files via its Snap.load() function.