[GIL] Loading flipped image

Hi, Is it possible to flip image while it is being loaded? Png images are loaded upside-down and I currently I use copy_pixels() on flipped_up_down_view() of original image but I really wish I could avoid that step. Cheers, Szymon

Hi Szymon, can you tell me what gil::io you're using?
Thanks,
Christian
On Mon, Jul 11, 2011 at 12:51 PM, Szymon Gatner
Hi,
Is it possible to flip image while it is being loaded?
Png images are loaded upside-down and I currently I use copy_pixels() on flipped_up_down_view() of original image but I really wish I could avoid that step.
Cheers, Szymon _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

2011/7/13 Christian Henning
Hi Szymon, can you tell me what gil::io you're using?
Your io_new of course. Isn't this obvious by now? ;) And why isn't it included in 1.47? grrr Cheers, Szymon
Thanks, Christian
On Mon, Jul 11, 2011 at 12:51 PM, Szymon Gatner
wrote: Hi,
Is it possible to flip image while it is being loaded?
Png images are loaded upside-down and I currently I use copy_pixels() on flipped_up_down_view() of original image but I really wish I could avoid that step.
Cheers, Szymon _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Szymon Gatner The Lordz Games Studio www.thelordzgamesstudio.com

Hi Szymon, I think I could add a flag which would automatically read
the image in the opposite order. I'll put it on my todo list.
I'm not very happy with my progress either. Just very busy. But I see
light at the end of the tunnel. Hopefully I'll have time by the middle
of August.
Of course, you are more than welcome to help. I would really appreciate it.
Thanks,
Christian
On Fri, Jul 15, 2011 at 5:31 AM, Szymon Gatner
2011/7/13 Christian Henning
: Hi Szymon, can you tell me what gil::io you're using?
Your io_new of course. Isn't this obvious by now? ;)
And why isn't it included in 1.47? grrr
Cheers, Szymon
Thanks, Christian
On Mon, Jul 11, 2011 at 12:51 PM, Szymon Gatner
wrote: Hi,
Is it possible to flip image while it is being loaded?
Png images are loaded upside-down and I currently I use copy_pixels() on flipped_up_down_view() of original image but I really wish I could avoid that step.
Cheers, Szymon _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Szymon Gatner The Lordz Games Studio www.thelordzgamesstudio.com _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Christian Henning
-
Szymon Gatner