Results 1 to 3 of 3

Thread: PHP image resize errors with digital pictures

  1. #1
    Join Date
    Mar 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default PHP image resize errors with digital pictures

    I am having an issue with PHP's built-in image resizing functionality. For most photographs it works fine, but there is a small section of digital pictures that fail out the function. The best I can tell, this is due to incompatable EXIF data in the images in question. I found a script called jpg_clean that is supposed to remove all superfluous data from JPEG images, but I cant seem to get it to work right. If anyone has a solution to this or a similar problem, input would be greatly appreciated.

  2. #2
    Join Date
    Feb 2007
    Location
    Earth
    Posts
    133
    Thanks
    6
    Thanked 1 Time in 1 Post

    Default

    i believe there is a jpeg image converter somewhere on d.d.? i came accross it when i was just looking around

    it converts it to a gif, which is more recognizable by php
    http://www.insanecombat.com << bored? check out ma game

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    It would also convert it to 256 colors.... horrible for any photos.

    I think I understand the problem, but I'm not sure how to help.

    Without a link to a testing page or posted code, there's not much I can do.

    In the end, if you are right, then there may not be a solution until you get the clean function to work.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •