• 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
attributed strings and embedded images.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

attributed strings and embedded images.


  • Subject: attributed strings and embedded images.
  • From: email@hidden
  • Date: Mon, 15 Apr 2002 14:24:00 -0700

I am trying to manipulate an attributed string from an NSTextView.

When I drag/drop or cut/paste an image into it say from Internet Explorer... the pasteboard type is PICT... but when I send the attributed string as email, (using the Message framework), it ends up being an UNcompressed TIFF.

I was hoping someone had some advice for me as to how to maybe manipulate the attributed string to make the images into JPG's or something that a cross platform mail reader would understand and might take less space.

Is it endemic to NSAttributedString to use TIFF? or is it NSMailDelivery that's doing it?

Internet Explorer -> inline gif image -> drag pasteboard as PICT -> NSTextView/NSTextStorage/NSAttributedString -> NSMailDelivery -> Multi-part-mime message with TIFF attachments.

Thanks...
_______________________________________________
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:
    • Re: attributed strings and embedded images.
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: NSFileManager and aliases
  • Next by Date: Re: NSTextView Custom Class "Not Applicable"
  • Previous by thread: Re: How to use NSUndoManager removeAllActionsForTarget:?
  • Next by thread: Re: attributed strings and embedded images.
  • Index(es):
    • Date
    • Thread