Closed unitycoder closed 8 years ago
i did a test but the results was too slow for the mobile
do you need to get the list only once at save? or more often? (could also skip every 2nd or 3rd pixel, probably not necessary to calculate small single pixels)
it could be more then one time
ok skipping some pixels was a good idea it worked well now thank u so much
closing this, probably could try doing the calculation in another thread also..but might get complicated.
iterating through all the colors in pixels[] array should be ok (not too slow), so could use that to collect which colors are used in drawing.. i can test it also.