Re: do I use fopen or fsockopen to get an image as a stream of bytes?
Posted by Chung Leong on 11/04/05 20:55
lkrubner@geocities.com wrote:
> Suppose I need to get an image as a stream of bytes. I want to store
> this in a variable and then embed it in some Postscript code. In my
> Postscript code, the image might look like this:
The easiest way is probably to copy the file to a temporary location,
then use ImageMagick to convert it to a .ps file.