It appears that QT 7 PP3 is handling 'headers' differently or
incorrectly......
The below php script works well in all other QT/Platform versions I
have tried.
Platforms where the below works correctly are: QT7 for OS X, QT 6.5 for
XP and Win2K
Unfortunately, the script fails in QT7 PP3 for PC :(
Excerpt from myPHPscript.php script that LoadNewImage accesses:
// Get the text sent from the wired QT movie
$text = $_GET['text'];
header("Content-type:".$mime); //$mime = image/png
$im = imagecreatefrompng($imageURL);
imageAlphaBlending($im, true);
imageSaveAlpha($im, true);
$left = 5; //add a little pad to the left edge
$white = imagecolorallocate($im, 255, 255, 255);
imagestring($im, 10, $left, 9, $text, $white);
imagepng($im);
readfile($im);
imagedestroy($im);
Here is a link to the movie that shows the bug: http://www.siren.cc/bugs/loadnewimage.mov
In the above test movie, LoadNewImage is accessing a php script which
outputs an image with dynamic text composited over it
The right hand side is outputting text as relevant events happen...like
a debugstr/console
Is QT7 for PC handling headers differently than all other QT versions ?
Is this a bug or is QT 7 PC handling headers differently ?
Bug or Feature ?
many many thanks to the QT engineering team for fixing the LoadNewImage
bug :)
Fixing this is really going to help me
g
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden