Page 1 of 1
Saving as a .cur or .ani file.
Posted: Wed Jan 24, 2007 1:33 am
by JellyFish
Can php save an image file as a cursor file or an ANI file type?
Posted: Wed Jan 24, 2007 6:12 am
by dibyendrah
Refer to Content-Disposition under header
Refer this URL :
http://www.php.net/header
But I think, only other valid image are supported by header function.
Posted: Wed Jan 24, 2007 9:24 am
by feyd
They are technically supported by the header() function, however PHP has zero native facilities that can write those types of files.
Posted: Wed Jan 24, 2007 2:13 pm
by JellyFish
I see. Would this open up to the possibility of taking a gif image and changing it's header into a cursor file, thus a online converter program?
Posted: Wed Jan 24, 2007 11:38 pm
by feyd
They aren't simple translations of the headers of an image type, they have extra information incorporated into them that it critical to how they function.