Big Bitmaps - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Big Bitmaps

I want to create a super big bitmap (a couple MBs)

and then be able to scroll it in a window.


I know it can be done somehow because I can do

it in Photoshop, but I can't seem to do it in

my own program. Does anyone have any hints how

to do this?


Brian


Comments

  • : I want to create a super big bitmap (a couple MBs)

    : and then be able to scroll it in a window.


    : I know it can be done somehow because I can do

    : it in Photoshop, but I can't seem to do it in

    : my own program. Does anyone have any hints how

    : to do this?


    : Brian


    I you are working in DOS then the best way may be to load that whole sucker in memory and display it that way. That easy if you have a 32bit compiler. Another way would be to break that picture up into tiles and load from disk the tiles you want to display, into memory.





  • I should probably mention that the operating system that I am

    using is Windows 95. It is impossible to create such a bitmap

    through normal conventions since GDI has its limitations.


    I would like to know what different ways people use to get around

    this limitation.


    Brian


  • well,


    you could just make a bitmap of say 400*400 (or whatever)

    and just grab the several MB of mem, and load

    the bitmap to that, then just copy the necessary

    piece to the bitmap and then display that...


    shouldnt be that difficult


    ile / aardbei




Sign In or Register to comment.