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. Visual Basic
  4. Saving bitmap to JPG in Compact Framework 2

Saving bitmap to JPG in Compact Framework 2

Scheduled Pinned Locked Moved Visual Basic
helptutorialgraphics
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.
  • O Offline
    O Offline
    Ostrich22
    wrote on last edited by
    #1

    I've been on the MSDN and it has example code on how to save an image to jpg format, they say its compatible in the Compact Framework 2 but it doesn't seem to work. Here is my Code: Dim img As Bitmap img = New Bitmap(PictureBox1.Image) img.Save("Bob.jpg", ImageFormat.Jpeg) The PictureBox1 contral has a picture already. if I try save it as a BMP there is no problem. but to any other format it system returns a nonreferenced Exception. Any Help would be greatly appreciated. Thank you

    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