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 / C++ / MFC
  4. Image Editor

Image Editor

Scheduled Pinned Locked Moved C / C++ / MFC
graphicshelp
1 Posts 1 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.
  • V Offline
    V Offline
    Vini Deep
    wrote on last edited by
    #1

    Hi all, Does anybody know how image editors are made.I dont mean the image manipulation part ,but the canvas like thing we see in ms paint on which we draw ,erase .draw lines etc....I dont think it is a dilog.It would rather be a window , a paint window but how do we maintain it.say loading am image to a window is simple and i prefer the IPicture and IStream way of the win32 sdk.Once the image is loaded ,i even managed to draw on it ,like using moveto and line functions from the gdi.But the real trouble is how would i store the image temporarily.Say i have the image read from the file into the IStream and enclosed by IPicture .I render this from the IPicture to the window.Now i draw some lines over the image.Technically the dc is modified.Now how would i extract this modified dc into a buffer and latter on store it to a file.One suitable way is to Create a compatible dc and bitmap make a snapshot of this window,but it is not good,the image is not clear .How would i go around this situation. Please help. Vini

    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