Megascreenshot segmentation

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Post Reply
XaTriX
Engineer
Engineer
Posts: 47
Joined: 31 Jul 2008 18:38
Location: France
Contact:

Megascreenshot segmentation

Post by XaTriX »

Hi',

I want to cut one megascreenshot (from 2048² map, ~600-800mb) into littles pieces which can be viewed online (my website) with some flash or gmap technic.
Do you know where i can find that ?

XaT
XaTriX
Engineer
Engineer
Posts: 47
Joined: 31 Jul 2008 18:38
Location: France
Contact:

Re: Megascreenshot segmentation

Post by XaTriX »

Unfortunatly GIMP can't open this big image...

XaT
User avatar
SpComb
Tycoon
Tycoon
Posts: 1109
Joined: 13 Nov 2003 20:26
Location: Finland
Contact:

Re: Megascreenshot segmentation

Post by SpComb »

Dunno about any of the existing image processing software, but I did write my own library for processing OpenTTD's giant screenshots, i.e. efficient handling of large (8bpp palletted) PNG images using just libpng and mmap:

http://hg.qmsk.net/pngtile/

Example of it in use:

http://projects.qmsk.net/pngtile/screen ... 8/2002.png

This is just to prove that it's possible... it isn't released software, so I can't support it, but you're free to use it if you can figure it out yourself..
Kogut
Tycoon
Tycoon
Posts: 2493
Joined: 26 Aug 2009 06:33
Location: Poland

Re: Megascreenshot segmentation

Post by Kogut »

Looks very impressive
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
XaTriX
Engineer
Engineer
Posts: 47
Joined: 31 Jul 2008 18:38
Location: France
Contact:

Re: Megascreenshot segmentation

Post by XaTriX »

Amazing !
I'll try. It's a little bit slow but i think it's because it's hosted on Finland :'p

Thanks,

PS to everyone : there is a way to take a megascreenshot from the dedicated server (no X server) ?

XaT
User avatar
Ammler
President
President
Posts: 953
Joined: 18 Jun 2006 18:18
Location: Switzerland
Contact:

Re: Megascreenshot segmentation

Post by Ammler »

XaTriX wrote: PS to everyone : there is a way to take a megascreenshot from the dedicated server (no X server) ?
We do that on the #openttdcoop PublicServer, you need to patch the source slightly: http://dev.openttdcoop.org/projects/ser ... cated.diff (not disabling blitter)
XaTriX
Engineer
Engineer
Posts: 47
Joined: 31 Jul 2008 18:38
Location: France
Contact:

Re: Megascreenshot segmentation

Post by XaTriX »

Thanks to you, i'll try too.
Just want to avoid pic's upload on the dedicated :bow:

XaT
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 8 guests