CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: image files

  1. #1
    Join Date
    Sep 2000
    Posts
    3

    image files

    I want to save several pictures into one file.
    Now i'm working with a file for each picture and
    getting them with the loadpicture method.
    Is it possible to save and load several images from one file?



  2. #2
    Join Date
    Jul 2000
    Posts
    223

    Re: image files

    In design-time you can do that using resource files and "Resource editor" add-in(look in MSDN/help online, for details), but if you want to do same thing in run-time I'm not sure if it is possible.

    Maybe this will help you, maybe not...

    Sead

  3. #3
    Join Date
    Sep 2000
    Posts
    3

    Re: image files

    Thanks for the answer, but I need it at run time..
    (I'm building some kind of screen saver with power
    point attitude without powerpoint...)



  4. #4
    Join Date
    Jul 2000
    Posts
    223

    Re: image files

    If it is a screen saver, why can't you use resource files?
    Save pictures in a .res file (design-time) and load them later (run-time) with:
    LoadResPicture(index, format).


    Sorry if I am borring you, but I never heard about some screen saver which is saving a pictures while it runs. If you made one, you can be famous :-)

    Good luck

    Sead

  5. #5
    Join Date
    Sep 2000
    Posts
    3

    Re: image files

    It's in fact an editor like program to create a
    screen saver. (Add images, text, animation , display time ....)


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

Featured