View Full Version : which is easier on resource consumption (CPU/RAM etc)

15 Aug 2012, 5:24 AM
I was wondering; I need to provide a text slide like animation. I can:
- use a span html element and transform the span element
- generate an image with the text and transform the image
surely regarding architecture I choose to transform the text and not the image but I was wondering which is lighter on the framework/devices. is there a difference in resource consumption? judging by the looks only. it seems that the image transforms smoother but I am not really sure.
thanks in advance.

17 Aug 2012, 12:37 PM
images are going to be a tad heavier as the device has to render all the pixels but text isn't much. Don't use shadow on the text, that can affect performance of the anim