Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
EDIT: See bottom of post.

I've been playing around trying to figure out exactly where the OS is reading the image to determine whether or not to display white or black text.

I performed these tests on the home screen.

Using a 1136x640 blank canvas I added complete white. The home screen shows black text. Then pixel row by pixel row I added black to the image from the bottom up. Once I reached row 236px the text changed to white.

So far clarification, if you take a 1136x640 canvas and add a black mask with the dimensions 235x640 to the BOTTOM of the image, you will get black text on the home screen.

Here are my examples:

Fist screen shot shows a white background with a black bottom mask of 236x640 (1 pixel too high) and you will see the text is white with shadows:
View attachment 418761

Now with the black bottom mask correctly sized at 235x640 you can see the home screen text is black:
View attachment 418762

Here are the wallpapers I used:
235x1136
View attachment 418764
236x1136
View attachment 418763

**EDIT**
Played around a little more. As it turns out, the actual location of the black mask is irrelevant. You can place it anywhere. The important part is that it is at least 235 pixels worth of black or 36.7% :)

In other words, in order to display black text the wallpaper needs to be at least 63.3% white.
View attachment 418779

You should try a few other things. Add black rows from the top, add black columns from the sides. Place a black rectangle centered in the middle. Scatter different numbers of black pixels randomly on the background. Test different pure grey backgrounds ranging from white to black.

I would guess that the OS is taking some kind of mean brightness measure across all pixels to determine the color of the text. Anything more sophisticated doesn't seem worth it.
 
I definitely plan to play around more. Had some time to waste today.

My goal is to have a mostly black wallpaper with black text.
 
I tried it yesterday with the Steve Jobs photo from the book cover / Apple website when he died. Even though he is only at the bottom the phone doesn't recognize that the top half is all white and go with a black clock and top bar. And the home screen also has to be almost completely white to return black icon names and top bar.
 
Yea, I think most of what I said in previous posts may be inaccurate. It has nothing to do with color location or pixel count. I haven't yet figured out what measure it is using, but it is measuring luminance in some way.

For example, using a solid wallpaper with the color #cccccc will result in black text. While a shade darker, #bbbbbb, will result in white text.

Figuring out the threshold is the tough part. If I get anywhere I'll post back.
 
So playing some more, it looks like the luminance of the image must be 198 or higher in order to display black text.

In order to figure out the luminance using RGB colors, use the following formula:
(0.2126*R) + (0.7152*G) + (0.0722*B)

So what seems to happen is iOS looks at the whole image, calculates the RGB average, then applies either white or black text based on this luminance threshold of 198.

You can find the RGB average of any of your images in Photoshop by using Filter > Blur > Average then use the color picker to find the individual values for RGB. Plug them into the above formula and if the result is 198 or higher then text will be black. A value of 198 and lower and it will be white.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.