[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 123[4]5678910 ]

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 06:37:43 12/05/02 Thu
Author: Michel
Subject: Re: Assign Multiloaded TIFF Graphic to other TIffGraphic fail
In reply to: Yosi Mazal-Tov 's message, "Assign Multiloaded TIFF Graphic to other TIffGraphic fail" on 19:24:26 12/04/02 Wed

Hi Yosi,

Assign is a method in the base TDibGraphic class and is designed from single page only. You need to handle this page by page.

I would recommend saving all the pages the pages to a TMemoryStream and then reloading in your destination. Use TDibGraphic.SaveToStream for the first page then AppendToStream for the subsequent pages. Then in the destinatation TTiffGraphic set MultiLoad to True and use LoadFromStream.

Best regards,


The easiest way to accomplish what you are trying to do is to save to a TMemoryStream and then load back. For example,

Stream := TMemoryStream.Create;

>When i load multipage TIFF file with TTiffGraphic that
>MULTILOAD = TRUE the TiffGraphic get all the frames.
>but.. when i tried to assign this TTiffGraphic to other
>TTiffGraphic the Assign(Src) Or The AssignTo(Dst)
>Assign only the first frame.
>How Can I Force The Assign To Copy ALL FRAMES And

[ Next Thread | Previous Thread | Next Message | Previous Message ]


[ Contact Forum Admin ]

Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.