Take screenshot and compress it

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I've set up a system that takes a lot of screenshots and outputs them as png files.
    I use the "Screen capture object" and have deactivated "Capture high color modes in 24 bits".

    However, when I open one of these files in MS paint and re-save it as PNG, the file size is 53% smaller.

    Are there some other options which compresses the PNG file better? The forums mention the surface object, but I don't know how to take a simple screenshot using this object.

  • Linky I just added this concept to my project, and while it does compress the PNG, it seems to have issues when i scale the screen using the window control object.

    My goal is to generate a mini--world-map. So I've made a system that:

    • loads a level
    • scales down the screen using the Window control object
    • takes a screenshot

    The system then loops through all the levels and repeats.

    So this is the output I want, a large level scaled down:

    Please login to see this attachment.

    But the Surface object returns this, which I believe is the top left corner un-scaled:

    Please login to see this attachment.

    Alternatively I could just use the "Screen capture" object and then separately find some batch tool that saves the PNG as a compressed PNG. Anyone knows some good tools here?

  • Surface Object can make a compressed 32-bit PNG (as PNG uses zlib compression), but if you're looking for pure black and white that'll still be bigger. You might want to use something that can make a pure black-white BMP - but not many libraries do that, and Fusion doesn't. Possibly you could make the BMP file yourself in Binary Object, but that won't be a simple thing to do.

    Darkwire Software Lead Programmer (C++ & C#)
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

  • Surface Object can make a compressed 32-bit PNG (as PNG uses zlib compression), but if you're looking for pure black and white that'll still be bigger. You might want to use something that can make a pure black-white BMP - but not many libraries do that, and Fusion doesn't. Possibly you could make the BMP file yourself in Binary Object, but that won't be a simple thing to do.

    Yes I tested Linky's example and it seems to compress rather well. Unfortunately it seems like I can't get a proper screenshot using the surface object when I scale the window using the window control object.

    I could also just stick to the "Screen capture" object and use an additional tool that run a batch operation through all the images and compress them. Would love some tips on some good tools here!

    Edit: Please login to see this link.actually seems quite nice for this

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!