jitsu_wan Posted June 1, 2006 Share Posted June 1, 2006 Hello there...Im trying to build a super-dooper-final-year-project - yet, i have hit a snag...How to make a serialized byte array from a collection of images in PHP,and then present it to the client as one array for download. The images can be jpg/pngInformation as to how the client should chop up the array and extract the image data can simply be a tag or sumthing.My use for this would be to send a collection of (for example) thumbnail images in one server request. So when my software client sends a GET request to the PHP, it should return a stream of bytes, composedof serialized image data of all the $images.Will it be possible to add text bytes as well? btw. If this is really simple, and I am missing some wonderfull two-lines-of-code feature that does this,then all I have to say is: I am the noob.I would really appreciate ANY help on this. Thankyou in advance Quote Link to comment https://forums.phpfreaks.com/topic/10972-collection-of-images-to-single-byte-array/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.