Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-7251

Attachments attempts to use GD to scale Windows Bitmaps

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.2
    • 3.0.x
    • Posting
    • None
    • PHP Environment:
      Database:

      phpBB is attempting to use GD to scale windows bitmaps when GD only supports Wireless Bitmaps.

      Only one change is needed, I think (I have not tested it).

      includes/functions_posting.php:

      // BMP, WBMP
      case 6:
      case 15:
           $new_type = ($format & IMG_WBMP) ? IMG_WBMP : false;

      The first case needs removing. On a side note would it not be better to change the integers to the IMAGETYPE_* constants?

            Acyd Burn Meik Sievertsen [X] (Inactive)
            ToonArmy Chris Smith
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: