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. how to convert images through C++

how to convert images through C++

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorial
7 Posts 7 Posters 1 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.
  • A Offline
    A Offline
    aesthetic crazy
    wrote on last edited by
    #1

    Hi, i need to write a code which can convert a raw image to anyother desired format like BMP or JPEG etc.

    enhzflepE J _ C C 5 Replies Last reply
    0
    • A aesthetic crazy

      Hi, i need to write a code which can convert a raw image to anyother desired format like BMP or JPEG etc.

      enhzflepE Offline
      enhzflepE Offline
      enhzflep
      wrote on last edited by
      #2

      Howdy. Best you get cracking then - or find a "ken I hav the codez plz" site. If you had the slightest inkling of what you're doing, you'd realize that about a man-year's worth of work goes into a typical jpeg encoder. With that said, your option of (1) get (image file) format specification documents (2) Write appropriate code, will not work in a timely fashion. You'll need to find libraries that are suitable for you, in terms of (a) price and (b) compatibility with your code and other libraries. Have fun young jedi!

      R 1 Reply Last reply
      0
      • enhzflepE enhzflep

        Howdy. Best you get cracking then - or find a "ken I hav the codez plz" site. If you had the slightest inkling of what you're doing, you'd realize that about a man-year's worth of work goes into a typical jpeg encoder. With that said, your option of (1) get (image file) format specification documents (2) Write appropriate code, will not work in a timely fashion. You'll need to find libraries that are suitable for you, in terms of (a) price and (b) compatibility with your code and other libraries. Have fun young jedi!

        R Offline
        R Offline
        Rajesh R Subramanian
        wrote on last edited by
        #3

        Spot-on, Spartan! Marked as "correct answer". :)

        "Real men drive manual transmission" - Rajesh.

        1 Reply Last reply
        0
        • A aesthetic crazy

          Hi, i need to write a code which can convert a raw image to anyother desired format like BMP or JPEG etc.

          J Offline
          J Offline
          jeff6
          wrote on last edited by
          #4

          You don't need any library Just use Shell apis (1 line of code to convert any format into any other format)

          1 Reply Last reply
          0
          • A aesthetic crazy

            Hi, i need to write a code which can convert a raw image to anyother desired format like BMP or JPEG etc.

            _ Offline
            _ Offline
            _Superman_
            wrote on last edited by
            #5

            The Image::Save method that belongs to the GDI+ library can convert between certain formats. There is a library call FFmpeg[^] that can do practically whatever you can think of.

            «_Superman_»  _I love work. It gives me something to do between weekends.

            _Microsoft MVP (Visual C++)

            Polymorphism in C

            1 Reply Last reply
            0
            • A aesthetic crazy

              Hi, i need to write a code which can convert a raw image to anyother desired format like BMP or JPEG etc.

              C Offline
              C Offline
              Cool_Dev
              wrote on last edited by
              #6

              another option CImage class, which in turn uses Gdi+ calls. Use it's Save method.

              1 Reply Last reply
              0
              • A aesthetic crazy

                Hi, i need to write a code which can convert a raw image to anyother desired format like BMP or JPEG etc.

                C Offline
                C Offline
                Chris Losinger
                wrote on last edited by
                #7

                what is a "raw" image ?

                image processing toolkits | batch image processing

                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