Board Thread:Darwin/@comment-5275700-20131115094714/@comment-4738647-20131207174257

RRabbit42 wrote: The routine that performs the split in the background image needs to be adjusted. I've seen several wikis that now have this white band on both sides where the split occurs. It looks like it's trying to do a fade to a white background, but when the background image is dark and the central fill color is dark, that fade really stands out.

Take a look at the Space Battleship Yamato Wiki. The bow of the Yamato is right up against the split, and since this is a picture of a spaceship in space, it kind of looks like the ship is running into a wall.

The split routine should do this:
 * 1) At the point where the split is going to occur, sample the pixels immediately to the left and right of the split in a large vertical range.
 * 2) Determine the color that occurs most frequently.
 * 3) Retrieve the value of the background color that will be inserted.
 * 4) Have the fade go from the value in step 2 to the background color from step 3.

Regarding step 2, on this wiki, the most frequently-occuring color appears to be a medium blue, so the fade would go from that color to whatever fill color was selected. Which I can't see since there's no transparency for the central text area. It wouldn't be perfect since that split is going to cut across the green, orange and light blue talk bubbles, but it would work better than a fade from dark to white immediately against a dark central area. Maybe even sample an area rather than a single color? If it's space for example, the area where the split is could be a repeated pattern of stars.