NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP graphics programming for a template

Mike Traffanstead mike at thesandbenders.com
Sun Apr 8 22:01:03 EDT 2012


Postscript, Adobe Illustrator (.ai), PDF or SVG.  Ghoscript will work 
with all of them.  TIFF supposedly supports vector but I've never 
really seen it used that way, it's only real distinction is that it's 
lossless raster which is why photographers tend to use it.

Wikipedia has a handy table of graphics file formats that you can sort 
by raster/vector.

http://en.wikipedia.org/wiki/Graphics_file_format_summary


On Sun Apr  8 21:43:58 2012, David Roth wrote:
> OK, thanks for clarifying that. I'll check out your suggestions.
>
> What should the graphic designer provide the vector graphic image
> template in for development then? They usually work I believe in
> something like PhotoShop or Quark. I'm guessing, TIFF? Thanks!
>
> David Roth
>
> On Sun, Apr 8, 2012 at 5:51 PM, Michael Traffanstead
> <mike at thesandbenders.com>  wrote:
>> Don't know why I typed psd, that's the photoshop file format. You want PDF.
>>
>> Ghostscript is still the best open source utility for manipulating
>> Postscript and PDF files. The gswrapper project on sourceforge has a
>> php wrapper.
>>
>> Mike
>>
>> Sent from my iPhone
>>
>> On Apr 8, 2012, at 5:46 PM, David Roth<davidalanroth at gmail.com>  wrote:
>>
>>> OK. Are their PHP library routines to support a PSD file format? Thanks!
>>>
>>> David Roth
>>>
>>> On Sat, Apr 7, 2012 at 11:38 PM, Michael Traffanstead
>>> <mike at thesandbenders.com>  wrote:
>>>> And when your creating a PDF you can specify the resolution of
>>>> included images (which are typically embedded as a JPEG) but this
>>>> defeats the entire reason for using PSD.  You really want to use
>>>> vector PSD for printing if it's possible for your workflow.
>>>>
>>>> Mike
>>>>
>>>> Sent from my iPhone
>>>>
>>>> On Apr 7, 2012, at 10:10 PM, David Roth<davidalanroth at gmail.com>  wrote:
>>>>
>>>>> I've noticed that when I've take a large file graphic image, that PDF
>>>>> makes a smaller file out of the whole thing. I'm wondering if there is
>>>>> a way to tell PDF not to do that to allow the printer to munch on the
>>>>> higher quality image?
>>>>>
>>>>> David Roth
>>>>>
>>>>> On Sat, Apr 7, 2012 at 10:05 PM, Rolan Yang<rolan at omnistep.com>  wrote:
>>>>>> On 4/6/2012 4:26 PM, David Roth wrote:
>>>>>>>
>>>>>>> I want to be able to take the output of this on a USB flash drive (or
>>>>>>> DVD-ROM) to a professional printer that is using 11 x 17 color laser
>>>>>>> printers. I want to make this as easy as possible for the printer, so
>>>>>>> they just open the file for printing and go, without any sort of
>>>>>>> adjustments or problems.
>>>>>>>
>>>>>>> What PHP graphics libraries and techniques would be best for this?
>>>>>>> Any tips for creating a high quality PDF file for the printer? Or
>>>>>>> should this be provided in another file format?
>>>>>>> Any tips for working with aligning with pre-cut cards? Thanks!
>>>>>>>
>>>>>>> ...
>>>>>>
>>>>>>
>>>>>> My vote is for an output in pdf format.
> _______________________________________________
> New York PHP User Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/show-participation





More information about the talk mailing list