1. Hello!

    First of all, welcome to MapleLegends! You are currently viewing the forums as a guest, so you can only view the first post of every topic. We highly recommend registering so you can be part of our community.

    By registering to our forums you can introduce yourself and make your first friends, talk in the shoutbox, contribute, and much more!

    This process only takes a few minutes and you can always decide to lurk even after!

    - MapleLegends Administration-
  2. Experiencing disconnecting after inserting your login info? Make sure you are on the latest MapleLegends version. The current latest version is found by clicking here.
    Dismiss Notice

image converter

Discussion in 'Programming' started by WackyWarlock, Mar 19, 2025.

Thread Status:
You must be a logged-in, registered member of this site to view further posts in this thread.
  1. WackyWarlock
    Offline

    WackyWarlock Slimy

    247
    65
    230
    Mar 21, 2017
    Male
    9:42 AM
    WackyWarlock
    Bishop
    200
    All of them
    I wrote this image converter to fix the screenshots being saved as .png.bmp instead of .png
    This will convert all the bad images and save them to a new folder called "FixedScreenshots" in the ML folder then delete the bad images to save space (and so it doesn't have to convert everything again)

    note if you have your ML installed in a different place than the default you will have to change these lines:
    input_folder = r"C:\MapleLegendsHD\Screenshots"
    output_folder = r"C:\MapleLegendsHD\FixedScreenshots"


    also to preserve order make sure you sort the 'fixedscreenshots' folder by date

    enjoy!
     

    Attached Files:

    Last edited: Mar 19, 2025
    • Great Work Great Work x 5
Thread Status:
You must be a logged-in, registered member of this site to view further posts in this thread.

Share This Page