• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: am i loading this pdf data correctly or not?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: am i loading this pdf data correctly or not?


  • Subject: Re: am i loading this pdf data correctly or not?
  • From: "Alastair J.Houghton" <email@hidden>
  • Date: Thu, 7 Aug 2003 14:49:17 +0100

On Thursday, August 7, 2003, at 02:20 pm, Marcel Weiher wrote:

Streams have a (mandatory) Length key in their stream dictionary

Yes, this seems like a way out. Alas, it doesn't actually help you when you're scanning the file sequentially, because the stream dictionary can have an indirect reference to its length, with the length following after the actual stream data. This is actually quite common, because it allows the stream to be written on-the-fly.

Of course. I'd forgotten about the possibility of indirect references (it's been a while since I last looked in any detail at PDF).

Kind regards,

Alastair.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Random crash
      • From: Glen Simmons <email@hidden>
References: 
 >Re: am i loading this pdf data correctly or not? (From: Marcel Weiher <email@hidden>)

  • Prev by Date: NSImageView redrawing
  • Next by Date: Re: beginning Obj-C [LONG]
  • Previous by thread: Re: am i loading this pdf data correctly or not?
  • Next by thread: Random crash
  • Index(es):
    • Date
    • Thread