User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17

Thread: Thumbnail images in MMF 2

  1. #1
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Paul_Boland's Avatar
    Join Date
    Jun 2006
    Location
    Waterford, Ireland.
    Posts
    2,739
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbnail images in MMF 2

    Hi Folks.

    In Windows, if you go into a folder which has graphic files in it, you can View Thumbnails to see the images in the folder without having to open them. Is there a way to do this in MMF 2? I haven't done any testing yet, today I just looked at what objects were available that might be able to do this but none came out as instantly having this feature. So before I start running a number of test programs to see how to do it, I thought I'd throw it open here to see if anyone already has an answer.
    KnightTrek Productions
    http://www.knighttrek.com

  2. #2
    Clicker Fusion 2.5 (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Nov 2007
    Posts
    456
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Thumbnail images in MMF 2

    I'm no expert, but you might be able to use the Active Picture object to display the picture from the file, and use either it's properties, or events at runtime to scale it down to thumnail size

  3. #3
    No Products Registered

    Join Date
    Aug 2006
    Posts
    984
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Thumbnail images in MMF 2

    i'm not sure if this applies to images or not, but i do know certain files (like PSDs) need a DLL to enable viewing their stored thumbnails. windows probably just opens and resizes the images to create thumbnails, if it has to (it keeps a database of the cached thumbnails [Thumbs.db] in each folder, at least)

    if there's a specification for the Thumbs.db file floating around, you might even be able to extract the thumbnails from that if it's appropriate for your needs (though you'd need to use the binary object, and the Thumbs.db file itself probably won't be created/updated unless the folder is opened in Thumbnail View)

    EDIT: then again, it's probably just easier to use active pictures

  4. #4
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Paul_Boland's Avatar
    Join Date
    Jun 2006
    Location
    Waterford, Ireland.
    Posts
    2,739
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Thumbnail images in MMF 2

    Thanks. I do know how to use the Active Picture Object to create thumbnail images, but what I'm after is a means of presenting the user with the contents of a graphics folder as thumbnails, just as if doing so through Windows. I want the user to be able to pick a folder on their computer and it will open up, displaying thumbnail images of any graphic files in there.
    KnightTrek Productions
    http://www.knighttrek.com

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    Derby, United Kingdom
    Posts
    125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Thumbnail images in MMF 2

    I believe Andos has an example of this on his site. Not sure of the URL though but I am sure one the helpful guys here will know!

  6. #6
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Thumbnail images in MMF 2

    Sadly the Active Picture object isn't optimized for thumbnails. For it to show the image it has to load the entire image and then resize it all which is very slow. Windows has some really neat method for only loading very little data from the image file and still get a viewable image (which is 100 times faster than the other method)

  7. #7
    No Products Registered

    Join Date
    Jul 2006
    Posts
    2,289
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: Thumbnail images in MMF 2

    A thumbnail object, perhaps? Is this doable in the future?

  8. #8
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Paul_Boland's Avatar
    Join Date
    Jun 2006
    Location
    Waterford, Ireland.
    Posts
    2,739
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Thumbnail images in MMF 2

    Well, I did some testing today and managed to set up a system by which I can display a set of thumbnail images by using a number of Active Picture Objects. The thing is, it restricts the view to whatever number of APO's I use on the frame.

    A Thumbnail Object would be great if it's do-able, or if possible, add a Thumbnail View option to the Explorer Object in MMF 2 Developer.
    KnightTrek Productions
    http://www.knighttrek.com

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    Derby, United Kingdom
    Posts
    125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Thumbnail images in MMF 2

    You could dynamically create the APO's at runtime based on the number of images you wish to load. Then simply place them in the frame using simple positioning and loops.

    That way you could any number of APO's in your view as you want.

  10. #10
    No Products Registered

    Join Date
    Aug 2006
    Posts
    984
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Thumbnail images in MMF 2

    Quote Originally Posted by IsaacBoy
    You could dynamically create the APO's at runtime based on the number of images you wish to load. Then simply place them in the frame using simple positioning and loops.

    That way you could any number of APO's in your view as you want.
    though the image-resizing lag will still be a problem

    i threw together an app that uses 12 APs and the lag from even that few is obvious

Page 1 of 2 1 2 LastLast

Similar Threads

  1. [rc1] bug Android Images
    By StingRay in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 11th October 2012, 03:42 PM
  2. Editing 120 images
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 22nd August 2012, 04:36 PM
  3. Can I use my own images?
    By kevinloeffler in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 21st July 2012, 02:42 AM
  4. [Request] Picture Thumbnail Container Extension
    By TrojanWolf in forum Extension Development
    Replies: 2
    Last Post: 24th October 2008, 01:51 PM
  5. Images
    By Hordolur in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 27th June 2008, 12:38 PM

Posting Permissions

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