Add GIF image into PDF

Ask a Question related to Adobe Acrobat SDK, Design and Development.

  1. #1

    Default Add GIF image into PDF

    Hello,
    I can add jpg image into PDF file use DCTDecode. But how to add GIF image into PDF file? Can I use LZWDecode or FlateDecode to do that ?
    Can someone give me a sample PDF file which contain GIF image?

    Thanks!

    Tom.
    Tom_Yi@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. determine image information on image stored in MySQL BLOB
      Hi all, I store images in my DB as BLOB. When I want to place them in an html table, I want to determine the width of the image in order to...
    2. Open Image in 'Kodak Image Edit Control' with web browser.
      hi, 1.I want to show a image file of type '.tif' in the browser window; for that I'm writting as ASP code page. 2.This '.tif' type image can be...
    3. How To Browse for an image file and save it to image server folder
      I trying to browse for an image file and save it to the server image folder. in other words , upload the picture. I tried html and aspx.net...
    4. Can I take a small (320x240), blurry image, and make it a clear, large image?
      Just wondering if there is an easy way to do this? I'm sure it won't be perfect cause photoshop can only work with what's there, but maybe it can...
    5. Photoshop 7.0 Sliced Image Causes DreamWeaver MX Table To add 1 Pixel gif image!
      Hello, I sliced my page in Photoshop 7 and did a "Save Optimized" to HTML. I opened the page in Dreamweaver MX and it looks find. I want the TABLE...
  3. #2

    Default Re: Add GIF image into PDF

    You will need to decode the GIF (eg. a GIF reader), parse the contents, and then transcode them to PDF.
    Leonard_Rosenthol@adobeforums.com Guest

  4. #3

    Default Re: Add GIF image into PDF

    It is said that GIF used LZW encode. If I use FlateDecode,can I add the GIF data stream into PDF file directly?
    Tom_Yi@adobeforums.com Guest

  5. #4

    Default Re: Add GIF image into PDF

    Yes, GIF uses LZW to compress some parts of itself - that is true.

    I told you what you have to do to be able to put on into a PDF - that's how it works. PERIOD.

    JPEG just happens to be a fluke - all other images require transcoding.
    Leonard_Rosenthol@adobeforums.com Guest

  6. #5

    Default Re: Add GIF image into PDF

    Thanks!
    Can you give me some suggestion about how to transcode?
    Tom_Yi@adobeforums.com Guest

  7. #6

    Default Re: Add GIF image into PDF

    Start by reading the GIF specification about how they are put together. Then the PDF Reference/ISO 32000 about how image XObjects are formed. You should then see clearly how to transcode between them.
    Leonard_Rosenthol@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139