Slow alpha fading causes huge flicker

I’m trying to slowly fade in an image, but depending on the image, I’m getting huge flicker. Consider the following code:

local bg = display.newRect(0, 0, display.contentWidth, display.contentHeight)  
bg:setFillColor(255,255,255)  
  
-- Heavy flicker  
local img = display.newImage("cloud.png")  
img.alpha = 0  
img.y = 50  
  
-- Mild flicker  
local img2 = display.newImage("car.png")  
img2.alpha = 0  
img2.y = 150  
  
-- No flicker  
local rect = display.newRect(0, 0, 100, 100)  
rect:setFillColor(200, 200, 200)  
rect.alpha = 0  
rect.y = 250  
  
transition.to(img, {time=6000, alpha=1})  
transition.to(img2, {time=6000, alpha=1})  
transition.to(rect, {time=6000, alpha=1})  

My “cloud” image has a very light color, and flickers tremendously while fading in. Only on real device, both iphone and android, works fine on simulator.
The “car” image has a much darker color, and also flickers, but not so heavily.
The “rect” fades smoothly.

If I reduce the fade-in time to a smaller value, e.g. 1000, it works smoothly for all.

If I knew how to attach images to a forum post, I would. Let me know if you need them: niels DOT vanspauwen AT gmail DOT com

This is happening with 1.1, 2.0Beta4 and 2.0Beta5. [import]uid: 6795 topic_id: 1244 reply_id: 301244[/import]

Logged as bug #261. [import]uid: 3007 topic_id: 1244 reply_id: 3289[/import]