[OzzModz]/[Kirby] Convert uploaded PNG images to JPEG

xF2 Add-on [OzzModz]/[Kirby] Convert uploaded PNG images to JPEG 2.0.0

No permission to download
Compatible XF Versions
  1. 2.1
  2. 2.2
Small addon that will convert PNG images to JPEG if they are larger than the maximum allowed attachment filesize.

Please note that transparency will be lost in this case.
I did implement code to detect transparency and ignore the file if it does contain transparency, but that quite simply does not make much sense to me so the code to do this is commented out:
If the image filesize is larger than allowed maximum and it is not being converted to JPEG, the upload would fail.

Originally coded by @Kirby, in this thread, https://xenforo.com/community/threa...f-phone-uploads-and-chrome-copy-paste.183606/
  • Like
Reactions: Pokschubin and Mbz
Author
Admin
Size
11.4 KB
Extension
zip
Downloads
1
Views
373
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Admin

Latest updates

  1. [OzzModz]/[Kirby] Convert uploaded PNG images to JPEG for XenForo 2.1+ Update 2.0.0

    Fixed: Added a missing class extension that prevented the addon from working.

Similar resources

[OzzModz]/[Kirby] Filtered Account Upgrades Admin
0.00 star(s) 0 ratings
Downloads
1
Updated
[OzzModz]/[Kirby] Filtered User Change Log Admin
0.00 star(s) 0 ratings
Downloads
0
Updated
[OzzModz]/[Kirby] Public Account Upgrades Admin
0.00 star(s) 0 ratings
Downloads
6
Updated
[OzzModz]/[Kirby] Search Threads by prefix only Admin
0.00 star(s) 0 ratings
Downloads
0
Updated
OzzModz] Usergroup View In ACP Admin
0.00 star(s) 0 ratings
Downloads
2
Updated
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock