resolve image width or height is float value issue

if width is float value like 155.50, CGBitmapContextCreate error, I don't know why the width of a float value , but is happened.