Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 25
  1. #1
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,440

    Object Plugin: ImageEx

    Purpose
    This object plugin allows to rotate, scale and transform images, change the hue, saturation and lightness, contrast and brightness, apply blur, or add a dynamic drop shadow.

    The plugin is very useful if you need to display several similar images, that differ only in angle or size. Now you need to include the source image only once, and can apply the required transformation on the fly, using the properties screen or actions!

    The plugin configuration dialog on Windows Vista, Windows 7 or Windows 2008 Server

    Examples
    Here are a few samples showing what the plugin can do:

    Dynamic drop shadow

    Image rotation

    Blur

    Opacity

    Scale

    Hue

    Lightness

    Saturation

    Contrast

    License
    This is a commercial plugin with a 15 day evaluation version.
    Further information
    Installer: You can find the download link in the AutoPlay Media Studio Addon and Plugin Directory.
    Help file: You can download it as a zipped archive from here.
    Product web site: MindQuake
    Last edited by Ulrich; 07-07-2010 at 12:55 PM.

  2. #2
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,805
    Nice job -- just curious -- if I have two objects with the same name, is there a work around to be able to use both?

  3. #3
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,440
    A search for ImageEx in the forum did not show any hits for a previous plugin with the same name. Is there another object with the same name? Where?

  4. #4
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,805
    Quote Originally Posted by Ulrich View Post
    A search for ImageEx in the forum did not show any hits for a previous plugin with the same name. Is there another object with the same name? Where?
    Nothing that's public -- someone wrote some code for a client (all lua) and it's using plugin-like operation (could have been compiled with the plugin compiler...) and it's name is ImageEx. Just got me thinking if two objects shared the same name, what then? it was more a question for thought vs. action.


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  5. #5
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,440
    In this case... I am not sure. When I made my Crypto action plugin, I kept the same name after I made sure that it wouldn't cause a conflict with the built-in Crypto actions. Maybe, as the actions are registered for each object, as long as there are no actions or properties with the same name shared by both objects, nothing bad is going to happen.

    Ulrich
    Last edited by Ulrich; 07-07-2010 at 05:56 PM.

  6. #6
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,274
    Also, if I'm correct, the AMS Plugin dialog will list both, although they have the same name. Right?

    This plugin is looking very good Ulrich, awesome.
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  7. #7
    Join Date
    May 2006
    Posts
    5,291
    ummm, be carefull Josh

    iv a feeling your lua script will overwrite the function table exposed by the plugin, the plugins are loaded first, then any scripts, so if you declare the "ImageEx" table in your script after the plugin had been loaded you will lose its functions!

    simply comment out the "ImageEx={}" line in your script and all should work seamlessly together , the script will just add to the function table already exposed by the plugin

  8. #8
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,274
    Quote Originally Posted by RizlaUK View Post
    ummm, be carefull Josh

    iv a feeling your lua script will overwrite the function table exposed by the plugin, the plugins are loaded first, then any scripts, so if you declare the "ImageEx" table in your script after the plugin had been loaded you will lose its functions!

    simply comment out the "ImageEx={}" line in your script and all should work seamlessly together , the script will just add to the function table already exposed by the plugin
    And if you only want to use the script version, replace ImageEx={} for:
    Code:
    if(type(ImageEx)~="table")then
        ImageEx = {};
    end
    Then you can always use either one of them and both of them without issues.
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  9. #9
    Join Date
    Feb 2007
    Location
    Como, Italy
    Posts
    1,311
    Doesn't it will be simpler call the new plugin "PictureEx" or "GraphicEX" or "ImageEffEX"?

  10. #10
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,274
    Quote Originally Posted by Cybergraph View Post
    Doesn't it will be simpler call the new plugin "PictureEx" or "GraphicEX" or "ImageEffEX"?
    No, because the existing plugin isn't public. Using this way you don't have any trouble
    You for example, can just download this one, and ignore all this info
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  11. #11
    Join Date
    Dec 2001
    Location
    Northam, Western Australia
    Posts
    98
    I'm interested in the rotate capability used with an "on Timer" event. Does anyone have some example code as such to use with this plugin? Thanks in advance. John

  12. #12
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,440
    Here is an example, assuming that you have three ImageEx objects on your page, named "Seconds", "Minutes" and "Hour", each with its own clock hand. One Label object is used to display the hour as text.

    On Show:
    Code:
    Page.StartTimer(1000,10);
    On Timer:
    Code:
    segs = System.GetTime(TIME_FMT_SEC);
    ImageEx.SetAngle("Seconds", 6*segs);
    mins = System.GetTime(TIME_FMT_MIN);
    ImageEx.SetAngle("Minutes", 6*mins);
    hours = System.GetTime(TIME_FMT_HOUR);
    Label.SetText("Clock", hours..":"..mins..":"..segs);
    if (String.ToNumber(hours) >= 12) then
    	hours = hours - 12;
    end
    ImageEx.SetAngle("Hour", 30*hours + 30*(mins/60));
    Quick and dirty example:


    Ulrich
    Attached Files
    Last edited by Ulrich; 07-14-2010 at 11:35 AM.

  13. #13
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    How do you use the trial? I installed it but it does not show up on the plugins menu. I have checked it is installed in the correct folder. I get the license warning when I start AMS and I click the OK button. Am I missing something?
    Dermot

    I am so out of here

  14. #14
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,440
    This is strange. Please uninstall, get the latest version (1.0.0.2) and install it. There should be no license dialog on startup - it should be shown only when the evaluation period is over, or when you click the Unlock button in the Properties dialog.

    Ulrich

  15. #15
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    Quote Originally Posted by Ulrich View Post
    This is strange. Please uninstall, get the latest version (1.0.0.2) and install it. There should be no license dialog on startup - it should be shown only when the evaluation period is over, or when you click the Unlock button in the Properties dialog.

    Ulrich
    Thanks for the help Ulrich but still no go. I still get the license dialog. See attached. If I click OK, the plugin is not available.

    Attachment 9917
    Dermot

    I am so out of here

Posting Permissions

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