non-power-of-two PNG

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

non-power-of-two PNG

Post by Commander McLane »

And finally something not related to Oolite itself:

The iNews.png used in several OXPs (introduced in Thargoid Wars?) is 427 x 213 pixel, which is non power-of-two and makes Oolite complain. Can that be rectified? Best would be to correct it at the original source, and have everybody else who used a copy in their own OXP get it from there.

I am however not sure whether it really made its debut in Thargoid Wars. Perhaps it is still older? I hope that somebody remembers.

The solution should be easy enough: add some pixels to each direction, to make it 512 x 512.
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

... or even 512 x 256! :)
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Post by Eric Walch »

Kaks wrote:
... or even 512 x 256! :)
Or even 512 x 128 as I just did. Even at this size there is still no need to resize the text itself. Just chop of the border a bit. It displays just as well on a missionscreen, without vertical stretching.
Post Reply