Notifications
Clear all
[Closed] Fastest way to get transparent image bounding box
Page 2 / 2
Prev
Jun 15, 2012 6:10 pm
Would it be quicker to check the sum total of the alpha values of 1 line of pixels > 0 before running through pixel by pixel?
1 Reply
Jun 15, 2012 6:10 pm
I’m not sure there is, just a random thought I had when I was trying to do something similar a while back. I’m sure there’s some clever way of looking at the array size in memory or something like that… but beyond my geekage level.
Page 2 / 2
Prev