• 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
PDF with background transparent?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PDF with background transparent?


  • Subject: PDF with background transparent?
  • From: Lorenzo <email@hidden>
  • Date: Wed, 21 Jan 2004 19:43:58 +0100

Hi,
I need to read a PDF file with the trasparent background. So I can change
the "color of the paper later". So I try this:
I launch TextEdit, write some text, then choose "Print to PDF", then read
the PDF file with

image = [[NSImage alloc] initWithContentsOfFile:pdfFile];
[[image TIFFRepresentation] writeToFile:@"/x.tiff" atomically:YES];

and the file x.tiff has a white background.

Also I tried to open the PDF with Photoshop and it is not transparent.
Do you know any way to get a PDF file with the background transparent?


Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
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.

  • Prev by Date: Re: matching interface builder object to source
  • Next by Date: Re: Question about multi-processing, multi-threading...
  • Previous by thread: Re: matching interface builder object to source
  • Next by thread: Best way to defy logic of NSTextField editing
  • Index(es):
    • Date
    • Thread