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. Byte arrays to pdf

Byte arrays to pdf

Scheduled Pinned Locked Moved C#
toolsjsontutorial
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.
  • E Offline
    E Offline
    Etienne_123
    wrote on last edited by
    #1

    Hi I'm using the WIA Library 2.0 from the Microsoft website to scan multiple pages. I then convert these scanned images to byte arrays and keep them in a List. My next goal is to combine these images/byte arrays and save it as 1 single file. I would prefer saving it as PDF, but TIFF will also do for multiple pages. I had a look at the Codeproject article on how to use the Ghostscript API, but I`m looking for a simpler way.. preferably without using third-party tools. Any hints would be appreciated Thanks

    W 1 Reply Last reply
    0
    • E Etienne_123

      Hi I'm using the WIA Library 2.0 from the Microsoft website to scan multiple pages. I then convert these scanned images to byte arrays and keep them in a List. My next goal is to combine these images/byte arrays and save it as 1 single file. I would prefer saving it as PDF, but TIFF will also do for multiple pages. I had a look at the Codeproject article on how to use the Ghostscript API, but I`m looking for a simpler way.. preferably without using third-party tools. Any hints would be appreciated Thanks

      W Offline
      W Offline
      Wayne Gaylard
      wrote on last edited by
      #2

      I came across this the other day while trying to convert Byte Arrays stored in a database back into Tiff files. Create Tiff Image Page By Page[^] Maybe it could help you. Happy coding.

      E 1 Reply Last reply
      0
      • W Wayne Gaylard

        I came across this the other day while trying to convert Byte Arrays stored in a database back into Tiff files. Create Tiff Image Page By Page[^] Maybe it could help you. Happy coding.

        E Offline
        E Offline
        Etienne_123
        wrote on last edited by
        #3

        Hi Thanks for your reply. It did help me quite a bit, but eventually I got stuck on some GDI+ error, so I found some other code on http://www.bobpowell.net/generating_multipage_tiffs.htm[^] which solved my problem :-D

        W R 2 Replies Last reply
        0
        • E Etienne_123

          Hi Thanks for your reply. It did help me quite a bit, but eventually I got stuck on some GDI+ error, so I found some other code on http://www.bobpowell.net/generating_multipage_tiffs.htm[^] which solved my problem :-D

          W Offline
          W Offline
          Wayne Gaylard
          wrote on last edited by
          #4

          Great link, thanks. :)

          1 Reply Last reply
          0
          • E Etienne_123

            Hi Thanks for your reply. It did help me quite a bit, but eventually I got stuck on some GDI+ error, so I found some other code on http://www.bobpowell.net/generating_multipage_tiffs.htm[^] which solved my problem :-D

            R Offline
            R Offline
            RaviRanjanKr
            wrote on last edited by
            #5

            Nice Link it help me also :)

            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