Image Library

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • sside
    New Member
    • Dec 2003
    • 475

    Image Library

    Image Library (Image.dll v.1.0.0.3).

    Functions:
    1. Create
    2. DrawImage
    3. DrawIcon
    4. DrawString
    5. DrawRectangle
    6. DrawEllipse
    7. DrawLine
    8. DrawLines
    9. FillRectangle
    10. FillEllipse
    11. Thumbnail
    12. Resize
    13. Crop
    14. Rotate
    15. Flip
    16. View
    17. SaveAs
    18. GetFormat
    19. GetSize
    20. GetResolution
    21. SetResolution
    22. GetError


    .Net 2.0 required.

    With Kind Regards
    sside
  • mz241508
    Forum Member
    • Oct 2006
    • 351

    #2
    One word = "WOW"

    Great Job :yes

    Comment

    • SiNisTer
      Forum Member
      • Mar 2007
      • 187

      #3
      Re: sside

      Seriously Cool Tool.
      Thanks for all the dll's especially this one! One of my personal favorites!

      Comment

      • sside
        New Member
        • Dec 2003
        • 475

        #4
        A craftsman is always pleased to hear his work is appreciated.

        With Kind Regards
        sside

        Comment

        • sside
          New Member
          • Dec 2003
          • 475

          #5
          Image.dll v.1.0.0.4 (Update)

          Added:
          1. DrawStringGradient
          2. DrawRectangleGradient
          3. DrawEllipseGradient
          4. DrawLineGradient
          5. DrawLinesGradient
          6. FillRectangleGradient
          7. FillEllipseGradient


          .Net 2.0 required.

          With Kind Regards
          sside

          Comment

          • sside
            New Member
            • Dec 2003
            • 475

            #6
            Image.dll v.1.0.0.5 (Update)

            Added:
            1. DrawStringImage
            2. DrawRectangleImage
            3. DrawEllipseImage
            4. DrawLineImage
            5. DrawLinesImage
            6. FillRectangleImage
            7. FillEllipseImage

            .Net 2.0 required.

            With Kind Regards
            sside

            Comment

            • sside
              New Member
              • Dec 2003
              • 475

              #7
              Image.dll v.1.0.0.6

              Added an option to skew images.

              With Kind Regards
              sside

              Comment

              • TimeSurfer
                Forum Member
                • Dec 2007
                • 479

                #8
                AWESOME sside, what are you using to make these if you dont mind me asking. pb?

                Comment

                • sside
                  New Member
                  • Dec 2003
                  • 475

                  #9
                  Originally posted by TimeSurfer View Post
                  AWESOME sside, what are you using to make these if you dont mind me asking. pb?
                  c++.

                  With Kind Regards
                  sside

                  Comment

                  • sside
                    New Member
                    • Dec 2003
                    • 475

                    #10
                    Image.dll v.1.0.0.7

                    Fixed Skew. I use different approach to skew images. This is more like it...

                    The result image has always a transparent background.

                    With Kind Regards
                    sside

                    Comment

                    • sside
                      New Member
                      • Dec 2003
                      • 475

                      #11
                      Image.dll v.1.0.0.8

                      Fixed the issue when the source image was being locked.

                      With Kind Regards
                      sside

                      Comment

                      • clueless
                        Forum Member
                        • Jun 2006
                        • 421

                        #12
                        Great work so far dude, it would be handy if on the shape functions rather than having X,Y,Width and Height to set the shape dimentions having Ax,Ay for the top left corner and Bx,By for the bottom right. I say this because it takes an extra few calculations to convert between a grid system and one that uses width and height and those calcs are probably a lot quicker in straight C++ than in AMS.
                        Ive tried using your dll to super-impose a rectangle on a picture to define an area to be cropped. A new rectagle is drawn every time the user moves the mouse and it works quite well. The movement is slightly jerky and having less to calculate each time in AMS would help slightly.

                        Comment

                        • sside
                          New Member
                          • Dec 2003
                          • 475

                          #13
                          Originally posted by clueless View Post
                          Great work so far dude, it would be handy if on the shape functions rather than having X,Y,Width and Height to set the shape dimentions having Ax,Ay for the top left corner and Bx,By for the bottom right. I say this because it takes an extra few calculations to convert between a grid system and one that uses width and height and those calcs are probably a lot quicker in straight C++ than in AMS.
                          I thought x, y, width, height was more straight forward than x, y, bottom right. I still don't understand what calculations these should be that take so long?

                          Originally posted by clueless View Post
                          Ive tried using your dll to super-impose a rectangle on a picture to define an area to be cropped. A new rectagle is drawn every time the user moves the mouse and it works quite well. The movement is slightly jerky and having less to calculate each time in AMS would help slightly.
                          Are you trying to perform a series of actions in one time (in a loop or timer)?

                          With Kind Regards
                          sside

                          Comment

                          • clueless
                            Forum Member
                            • Jun 2006
                            • 421

                            #14
                            Ive modified my code a bit and the action is much smoother now. :yes

                            Im using your rectangle function to make a marquee select on a picture to define an area to be cropped so the rectangle is calculated by fixing the top left or bottom right and having the oposite corner set itself to the mouse pointer position (reletive to the positon of the pic on the page). So i get a X and Y value returned from the GetMousePositon function which i then have to convert to Width and height.
                            Code:
                            -- calcs the rectangle height and width (s for shape)
                            function CalcRectangleDimentions() 
                            sWidth  = sBx - sAx;
                            sHeight = sBy - sAy;  
                            end
                            I can see how width and height are much easier for someone to visualise in relation to the shape thats being plotted. I guess its just personal prefference

                            Comment

                            • clueless
                              Forum Member
                              • Jun 2006
                              • 421

                              #15
                              Ok im having some real problems using this DLL, but im not sure whats causing error, its most likley a problem with my computer as Ive been using it in my latest project (animation editor/sprite designer) for over a month and everything has been working great.Ive made use of practically all the avilable functions :yes. But then a few days ago it stopped working? Ive been going through my code to work out what the problem was and i havent got a clue. I checked my backups and they dont work. So i downloaded the latest version v1.0.0.8 and to my suprise that didnt work either . The only difference was that this time i got an error message saying 'error the file exists'. Ive done a full re-install of AMS and there is no difference.
                              Im totaly at a loss as to what the problem could be..

                              Comment

                              Working...
                              X