Results 1 to 4 of 4

Thread: How to remove a frame/border around a picture?

Threaded View

  1. #2
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,945

    Re: How to remove a frame/border around a picture?

    If the borders are of a fixed width simply use StretchBlt (or similar): https://docs.microsoft.com/en-us/win...gdi-stretchblt to copy the bordered portion of the image to a new image. If the borders are of a variable width you will need to manually scan the image line by line. This will probably be a slow and tedious process though.

    EDIT:
    I dont know the color of thickness of the frame/border.
    I overlooked that part, sorry. If you're interested I have something written in vb.net that might work. EDIT: see my last post.
    Last edited by Peter Swinkels; Jan 31st, 2022 at 03:44 AM.

Tags for this Thread

Posting Permissions

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



Click Here to Expand Forum to Full Width