Results 1 to 3 of 3

Thread: Automatic image size detection?

  1. #1

    Automatic image size detection?

    Is it possible to load an image of arbitrary size into a TAsphyreImages and have it figure out what size the image is automatically? I'm trying to implement background images that can be of any size up to a certain maximum, but I can't seem to get Asphyre to figure out the size without me hard-coding it into the routines, which defeats the purpose.

    Anyone know how to do this?

    Mason

  2. #2

    Automatic image size detection?

    (Using the AddFromFile method.)
    Grr... why can't I edit posts?

    Mason

  3. #3
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Automatic image size detection?

    [size=9px]You have to wait about 30secs-1min to make another post or edit your post. It's a phpBB hack countermeasure which prevents flooding of the forums. So just give it a little longer next time or just try again if your too fast, it should work by then. [/size]
    Jason McMillen
    Pascal Game Development
    Co-Founder





Bookmarks

Posting Permissions

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