DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: corrupt pdf file  (Read 4,922 times)

share3141

  • Supporting Member
  • Joined in 2014
  • **
  • Posts: 7
corrupt pdf file
« on: February 06, 2015, 01:14 PM »
When I save a screen shot as a PDF file I receive the following message.  The image file "path\filename" could not be loaded; it may be corrupt.  Generally, the PDF file is fine and I can open it via the Adobe reader.  I've tried reinstalling etc. and I still receive this message.  Any clue?  Thanks.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: corrupt pdf file
« Reply #1 on: February 06, 2015, 02:12 PM »
What program are you trying to view it in?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: corrupt pdf file
« Reply #2 on: February 06, 2015, 02:55 PM »
Ok I'm going to assume we are talking about my Screenshot Captor tool.  Screenshot Captor knows how to save PDF files, but it has some trouble showing them in its window since they aren't normal images.  They aren't a great format to save in for many reasons.  My suggestion is to take screenshots in PNG format, which is efficient and lossless, and export to PDF when you need (you can even combine multiple images to one pdf).

I will try to add pdf previewing inside Screenshot Captor, but again it's a poor choice for saving screenshots because you can't really edit the files.

share3141

  • Supporting Member
  • Joined in 2014
  • **
  • Posts: 7
Re: corrupt pdf file
« Reply #3 on: February 07, 2015, 01:34 AM »
good idea.  Thanks.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: corrupt pdf file
« Reply #4 on: February 07, 2015, 07:47 AM »
Quote
export to PDF when you need
if you enable the scanner toolbar, there is even a one-click save-to-pdf button on it.

Original address: https://www.donationcoder.com/forum/index.php?topic=40176.0