Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    May 2009
    Posts
    2

    Accessing image bitmap pixels

    Hi,

    I am a newbie, as for AMS, so I am sorry if this is an irrelevant question or already answered somewhere I could not find.

    I would like to modify the individual pixel values of an image or slideshow object. We develop some advanced image processing algorithms, and AMS seems like a great candidate to develop their test phase user interface, if (and only if) the answer to the following questions is positive:

    1) Is there a simple way to access and change the pixel values of the image object inside AMS?

    2) Is there a way to get the bitmap handle of an image object, and use that as an argument to a DLL that then modifies the pixel values (and the result, after calling the DLL, can be seen inside AMS again)?

    Any simple examples of such bitmap / pixel level image / slideshow object operations would be greatly appreciated.

    Thanks in advance.

    Paheikki

  2. #2
    Join Date
    Apr 2009
    Posts
    277
    it can be done, im sure i saw a pixel edit dll on the forum somewhere but i cant find it, maybe someone has it zipped somewhere??

  3. #3
    Join Date
    Aug 2003
    Posts
    2,427
    Quote Originally Posted by MicroByte View Post
    it can be done, im sure i saw a pixel edit dll on the forum somewhere but i cant find it, maybe someone has it zipped somewhere??
    I never tried it but possibly Sside's Image.dll ?

  4. #4
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    I also believe GDLua was somewhere on here, it's fully capable of editing images.

    **EDIT
    found it, GD-Lua thread
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  5. #5
    Join Date
    May 2009
    Posts
    2
    Hi,

    Thanks a lot.

    I tried both the two versions referenced above, and at first sight, they work as expected. The "Draw Triangles" does seem to crash though, but that is not necessarily a big issue. I use Vista which might be the culprit again...

    I will study these futher, if they help in doing what we try to do here.

    The other question: is there any way to get the bitmap handle of the AMS image or slideshow object, and pass that to a self-written DLL ?

    Thanks again,

    Paheikki

  6. #6
    Join Date
    Apr 2009
    Posts
    277
    The other question: is there any way to get the bitmap handle of the AMS image or slideshow object, and pass that to a self-written DLL ?
    no, you would need to load the image inside your dll and obtain the bitmap handle yourself, LoadImage API call will return the bitmap handle, if thats any help

Similar Threads

  1. FreePlugin: Splash Image Transition Engine DLL
    By RizlaUK in forum AutoPlay Media Studio 6.0
    Replies: 43
    Last Post: 03-26-2008, 08:41 AM
  2. BitMap Image
    By tdexter in forum MSI Factory 2.0 Discussion
    Replies: 1
    Last Post: 02-06-2008, 08:42 AM
  3. Switching pictures with forward/back buttons
    By ilandv in forum AutoPlay Media Studio 4.0
    Replies: 10
    Last Post: 08-08-2004, 04:51 PM
  4. Function: Resize & Center an Image
    By kpsmith in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 05-17-2004, 01:36 PM
  5. Image Caption Bug - Right few pixels cut off
    By kpsmith in forum AutoPlay Media Studio 4.0
    Replies: 1
    Last Post: 12-31-2002, 11:23 AM

Posting Permissions

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