Copy Pasted Image Become PNG

  • Betroffene App
    WoltLab Suite Core

    Whenever I copy paste images, the uploaded images become pasted-from-clipboard.png
    the problem is the extension of image, it's PNG, although the original file is JPG. The size become huge / bigger than original. I think it should retain the same file tipe.

    • Offizieller Beitrag

    You're not pasting the actual JPG but instead the data that resembles an image, that is the raw image data. Neither matters the original file type at this point, nor is it consistently exposed to the browser, I can't even reliably determine what type the original image was.

    That said, the pasted images are stored as PNG because it provides the best cross-browser experience and I can always submit a PNG to the server and be sure that everything is compiled properly.

    Alexander Ebert
    Senior Developer WoltLab® GmbH

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!