Announcement

Collapse
No announcement yet.

Action Plugin: Bitmap

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by Ruth View Post
    1.0.0.1 Update :

    Bitmap plugin now supports 41 actions up from 9 and is 3 times smaller (113 KB)
    Bitmap is free for personal or commercial use.


    What's New :
    • Convert between a variety of image file formats. (.bmp, .png, .jpg, .gif and .tiff)
    • Bitmap.DrawText()
    • Bitmap.Shear()
    • Bitmap.GlowingEdges()
    • Bitmap.Pixelize()
    • Bitmap.Spread()
    • Bitmap.Offset()
    • and so much more...


    I'm working on making a help file and some examples but for now this will have to do.

    How do I convert images?
    Code:
    Bitmap.Convert("AutoPlay\\Images\\Test.bmp", "AutoPlay\\Images\\Test.png");
    How do I add effects?
    Code:
    Bitmap.Load("AutoPlay\\Images\\Test.bmp");
    Bitmap.Grayscale();
    Bitmap.Save("AutoPlay\\Images\\Test.bmp");
    There are a few tools kicking about that help you create help files I still not sure what could be made with this as there so many bitmap tools out there but I am sure its useful to many that maybe want to build bitmap options on a app.
    Plugins or Sources MokoX
    BunnyHop 2021 Here

    Comment


    • #17
      Here is 5 simple drawing functions you can use with Bitmap Action Plugin.

      Copy and paste the code below into your project globals.


      Code:
      -- Draws a vertical line with a solid color.
      function Bitmap_DrawVLine(nPos, nColor)
      Lstart = 0; 
      Lend = Bitmap.GetWidth();  
      for pixel = Lstart, Lend do
      Bitmap.SetPixel(pixel, nPos, nColor);
      end
      end
      
      -- Draws a horizontal line with a solid color.
      function Bitmap_DrawHLine(nPos, nColor)
      Lstart = 0; 
      Lend = Bitmap.GetHeight();  
      for pixel = Lstart, Lend do
      Bitmap.SetPixel(nPos, pixel, nColor);
      end
      end
      
      -- Draws a border with a solid color.
      function Bitmap_DrawBorder(nColor)
      Bitmap_DrawVLine(0, nColor);
      Bitmap_DrawVLine(Bitmap.GetHeight(), nColor);
      Bitmap_DrawHLine(0, nColor);
      Bitmap_DrawHLine(Bitmap.GetWidth(), nColor);
      end
      
      -- Draws a rectangle with a solid color.
      function Bitmap_DrawRectangle(nX, nY, nColor, nSize)
      Bitmap.DrawText(nX, nY, "n", nColor, 100, "Wingdings", nSize, false, false);
      end
      
      -- Draws a circle with a solid color.
      function Bitmap_DrawCircle(nX, nY, nColor, nSize)
      Bitmap.DrawText(nX, nY, "l", nColor, 100, "Wingdings", nSize, false, false);
      end
      Call these functions exactly like actions...
      Code:
      Bitmap.Load("AutoPlay\\Images\\bitmap.bmp");
      Bitmap_DrawCircle(55,55,255,150);
      Bitmap.Save("AutoPlay\\Images\\bitmap1.bmp");
      Plugins:

      Bitmap (113 KB)

      ComboBoxEx (141 KB)

      Comment


      • #18
        Ruth--is the Bitmap plugin still available to purchase? Thanks. JimC

        Comment


        • #19
          I have attached the plugin download to this post

          Enjoy
          Attached Files
          Plugins:

          Bitmap (113 KB)

          ComboBoxEx (141 KB)

          Comment


          • #20
            Ruth--thank you!!! I will give it a try this weekend. Take care. JimC

            Comment

            Working...
            X