Search Unity

  1. Engage, network and learn at Unite Austin 2017, Oct 3 - 5. Get your ticket today!
    Dismiss Notice
  2. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  3. Check out all the fixes for 5.6 on the patch releases page.
    Dismiss Notice
  4. Unity 2017.1 is now released.
    Dismiss Notice
  5. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    Dismiss Notice
  6. Unity 2017.2 beta is now available for download.
    Dismiss Notice

AltSDK: PictureBox UI - Animated GIF, BMP, JPG, PNG, TGA, TIFF (no any native-dll dependencies)

Discussion in 'Assets and Asset Store' started by AltSoftLab, Apr 4, 2016.

  1. AltSoftLab

    AltSoftLab

    Joined:
    Jul 25, 2014
    Posts:
    193
    All solutions are already available on AltSoftLab and in Asset Store. Look more at the AltSDK main forum

    AltSDK specialized forums (all these tools are parts of the one AltSDK Asset):

    Because of AltSDK is a very huge and powerful solution in this topic we present a little but useful part of it - PictureBox UI control that is available for Unity UI and NGUI.

    [​IMG]


    Features

    • Supports Animated GIF, BMP, JPG, PNG, TGA, TIFF file formats
    • Animated GIF circle playback
    • 5 size modes: Normal, StretchImage, AutoSize, CenterImage, Zoom
    • Doesn't depend on any external native libraries (only managed C# code). So you can load supported formats at runtime without any preprocessing. Just load image file data from file system, AltSDK ZIPed Virtual FS, data streams from Web, resources, etc.
    • Transparency supported
    • No external tools needed

    PictureBox size modes
    • Normal - The image is placed in the upper-left corner of the PictureBox. The image is clipped if it is larger than the PictureBox it is contained in
    • StretchImage - The image within the PictureBox is stretched or shrunk to fit the size of the PictureBox
    • AutoSize - The PictureBox is sized equal to the size of the image that it contains
    • CenterImage - The image is displayed in the center if the PictureBox is larger than the image. If the image is larger than the PictureBox, the picture is placed in the center of the PictureBox and the outside edges are clipped.
    • Zoom - The size of the image is increased or decreased maintaining the size ratio

    You can play with PictureBox on AltSoftLab with Web Demo
    Also please look at screenshots at the bottom of this topic or on AltSoftLab Screenshots Gallery


    AssetStore links and more AltSDK info at AltSDK main forum thread

    AltSDK Social Links:

    You can look at some screenshots presented below and much more in AltSoftLab Screenshots Gallery

    PictureBox NGUI control
    [​IMG]
     
    Last edited: Jan 7, 2017
  2. AltSoftLab

    AltSoftLab

    Joined:
    Jul 25, 2014
    Posts:
    193
    Post place reserved for the future releases info...
     
  3. AltSoftLab

    AltSoftLab

    Joined:
    Jul 25, 2014
    Posts:
    193
    Post place reserved for the future releases info...
     
  4. Arisha

    Arisha

    Joined:
    Jun 13, 2014
    Posts:
    19
    Hi there! Firstly I need to thanks for your AMASING asset! It's really powerful and useful! Very good work!
    My question is: in the demo you load gif from your Virtual FS Zip. How I can load it from resources folder?