Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 19 Jul 2012
Offline Last Active Jul 07 2013 11:46 AM

#4973321 Upscaling 1 pixel, is it fast?

Posted by on 25 August 2012 - 02:17 PM


Today i was working in FlashPunk. I couldn't find a background color function. (Its probably there but i dont really care).
But instead of that i just made 1 white pixel in photoshop (cause i needed a white background) and scaled it up to the screen width and height.

Now my own theory is that this should be fast cause it only has to load 1 pixel from a .jpg. But on the other side it has to calculate the scaling too.
So I am just wondering, is this an efficient way to make a white background? Or is this a bad way because of the scaling?