Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Graphic library

Graphic library

Scheduled Pinned Locked Moved C#
algorithmshelp
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Michael O
    wrote on last edited by
    #1

    Hi, I'm looking for graphic library which make possible fast copying part of image and pasting this sample to another image in selected position. I need it for implementing some texture synthesis algorithm. If you know such a library, I'll be grateful for any help.

    L C M 3 Replies Last reply
    0
    • M Michael O

      Hi, I'm looking for graphic library which make possible fast copying part of image and pasting this sample to another image in selected position. I need it for implementing some texture synthesis algorithm. If you know such a library, I'll be grateful for any help.

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      Have you tried anything, what was the problem ? and what is "fast" ? I would suggest you experiment a bit with GDI+ and form your opinion based on that; then, if still necessary, start looking for specific things. :)

      Luc Pattyn

      1 Reply Last reply
      0
      • M Michael O

        Hi, I'm looking for graphic library which make possible fast copying part of image and pasting this sample to another image in selected position. I need it for implementing some texture synthesis algorithm. If you know such a library, I'll be grateful for any help.

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        GDI+ will copy part of an image on top of another image.

        Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert

        1 Reply Last reply
        0
        • M Michael O

          Hi, I'm looking for graphic library which make possible fast copying part of image and pasting this sample to another image in selected position. I need it for implementing some texture synthesis algorithm. If you know such a library, I'll be grateful for any help.

          M Offline
          M Offline
          Michael O
          wrote on last edited by
          #4

          The GDI+ library works realy fast, how fast it can be, I'll see tomorow :) Thanks for indication me the right path, previously I convert a Bitmap to byte array and work with it. It have caused many problems with image stride.

          C 1 Reply Last reply
          0
          • M Michael O

            The GDI+ library works realy fast, how fast it can be, I'll see tomorow :) Thanks for indication me the right path, previously I convert a Bitmap to byte array and work with it. It have caused many problems with image stride.

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #5

            Yeah, if you access the stride, it will blow up.  It's good for image processing, for drawing, you're better off trusting GDI+ to know what it's doing.

            Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups