1
SFML website / Re: I propose to replace the reference to the website of JSFML with its reposit
« on: August 29, 2016, 08:45:23 pm »Or probably even better to link to the archived page: https://jsfml.sfmlprojects.orgIt is even better!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Or probably even better to link to the archived page: https://jsfml.sfmlprojects.orgIt is even better!
Note that you can do the same thing (and more) with Imagemagick : http://www.imagemagick.org/Usage/montage/#montage
I'm not sure it should have "animator" in the title as it doesn't actually animate anythingYes. You are absolutely right. I have invented few names for this software.
You may want to consider how the image will end up if there are many frames: does it only stick to a single column/row?
The amount of wasted space when mixing differently sized images can be rather...wasteful. You may want to consider if keeping them in order is more important than re-arranging them and packing them more tightly as orders can be re-assembled after loading. You could even save a text file (or xml/json) with the rectangles of each packed image
Are you sure the error occurs where you say it does?Oh Yes! You are absolutely right! Sorry for my carelessness.
Your loop iterations are wrong. The image size goes from 0 to size - 1, yet you iterate from 0 to size (< vs <=), as such setPixel will get out of bounds and you get undefined behavior.