# Imagejpeg blurs flash text

**URL:** <https://forum.kirupa.com/t/imagejpeg-blurs-flash-text/288391>\
**Category:** Uncategorized\
**Created:** [May 15, 2009, 6:04am UTC](https://forum.kirupa.com/t/imagejpeg-blurs-flash-text/288391 "2009-05-15T06:04:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr\_Kikkoman](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@Mr\_Kikkoman](https://forum.kirupa.com/u/Mr_Kikkoman)\
**Post date:** [May 15, 2009, 6:04am UTC](https://forum.kirupa.com/t/imagejpeg-blurs-flash-text/288391/1 "2009-05-15T06:04:55Z")

</div>

I’m just using this simple script to take data sent from flash to this script to create a jpeg. The images look alright but the text is very blurry. However, when I set it from jpeg to png it looks fine. It’s at the highest quality too. Any suggestions please?

Also, I’m creating the image from a loaded swf with a child textfield set to readability.

```auto

<?php

if ( isset ( $GLOBALS["HTTP_RAW_POST_DATA"] )) {

    $im = imagecreatefromstring ($GLOBALS["HTTP_RAW_POST_DATA"]);
    
    header('Content-Type: image/jpeg');
    header("Content-Disposition: attachment; filename=".$_GET['name'].".jpg");
    imagejpeg($im, null, 100);
    imagedestroy($im); 
    
} else echo 'An error occured.';

?>

```
