Forum: Multimedia
by Luckie,
20. Mär 2016
Well. Better slow working code than fast not working code. :mrgreen: But does speed really matter in the end?
Bu as you wrote yourself: "getting results stage". So, i still would break in small pieces. Because it helps finding bugs, isolating prolems and it will be more readable.
Forum: Multimedia
by Luckie,
19. Mär 2016
By the way the png Object is never freed.
I would fragment the whole procedure into separate procedures. That will make it easier to locate problems and bugs. Your long procedure is way too confusing. And if you use a class you can even avoid passing arguments around.