Results 1 to 8 of 8

Thread: Bitmap Loading

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2005
    Posts
    26

    Thumbs up Bitmap Loading

    Hai,

    I am Having a bitmap with dimensions 15000*10000 How can i load it to a picture box, as i tried its loading partial image

    Any Help Plz

  2. #2
    Junior Member
    Join Date
    Feb 2007
    Posts
    28

    Re: Bitmap Loading

    What programming language? Visual Basic?

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Oct 2005
    Posts
    26

    Re: Bitmap Loading

    Ya VB6.0

  4. #4
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: Bitmap Loading

    The size of the image is much to large. I would resize it in Paint first.

  5. #5
    Hyperactive Member singularis's Avatar
    Join Date
    Nov 2006
    Location
    Over There!
    Posts
    372

    Re: Bitmap Loading

    Is that 15000 By 100000 pixels ! That is at least 10 times you screen size!
    If what I said was helpful, give me rep!

    My Complete Games: -- 2D Zone (Space Shooter game) || _2D Zone 2_ || Ninja Blob (2D platformer) || Dren (Co-op up to 4 player base defence game)

    My Projects: -- The Dread Engine (2D VB game Engine) || A* Path Finding


    An excellent site for learning DirectX7, 8 & 9 (for VB6, C# & VB.net) would be: directx4vb.vbgamer.com --- For my projects and games see: pieper.freehostia.com

  6. #6
    Hyperactive Member
    Join Date
    Aug 2006
    Posts
    367

    Re: Bitmap Loading

    Pictureboxes don't use memory well to begin!.. With those dimensions GDI memory will be destroyed even with autoredraw off.. I am curious which graphics card support resolutions like that though.. I'd use bitblt, and just keep painting the visible portion assuming its the map BG..

  7. #7
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246

    Re: Bitmap Loading

    I'd forget that altogether, and just load tiles.

    chem

    Visual Studio 6, Visual Studio.NET 2005, MASM

  8. #8
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: Bitmap Loading

    well maybe that is what it is... a grid of tiles? The tile based game i toy with i broke it up into six different images though.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width