|
|
| Author |
Message |
Avinash
 Total Messages 21
|
| Subject: | Colorspace Type 2 (Exponential Interpolation) Functions |
Hi all,
I am working on placing a vector image from pdf form button in pdf document.
But as colorspace used in image contains Type 2 (Exponential Interpolation) Functions.
/Resources<>
8 0 obj[/Separation/Black/DeviceCMYK<>]
So I am getting problem in placing that image content at proper place in pdf page. I can place image content within certain limited area, but if I try to place it in other area by changing matrix , it is not displaying anything out of range defined by Type2 function.
How can I change that limits defined by function & place image content anywhere on the page?
Can you suggest me any method or function for it?
Thanks & Regards,
Avinash
| Posted: 05 Jan 2006 10:58 PM |
|
|
| |
aandi
 Total Messages 17064
|
| Subject: | Colorspace Type 2 (Exponential Interpolation) Functions |
I recommend you post in the Developers forum, and include more info about what you want to do. Colorspaces will not affect where on a page you can put an image. An example (one working, one not) might help.
| Posted: 06 Jan 2006 02:50 AM |
|
|
| |
Avinash
 Total Messages 21
|
| Subject: | Colorspace Type 2 (Exponential Interpolation) Functions |
Hi ,
I am working on placing a vector image from pdf form button in pdf document (i. e. flattening of pdf forms).
It works fine when I place vectorimage conent (from form) containing ICC based colorspace in pdf page by changing matrix of content elements.
I have to convert it from form space to user space.
It is working for following vector image content
25 0 obj<>stream______________________________________________________________________________________________endstream
endobj
20 0 obj<>/ProcSet[/PDF]/ExtGState<>>>
endobj
21 0 obj[/ICCBased 22 0 R]
endobj
22 0 obj<>stream______________________________________________________________________________________________endstream
endobj
I am using following calls or mothos:
PDEContentGetElem(................);
PDEElementSetMatrix (...);
I am trying to place vectorimage at the position of the button by removing button on pdfpage.
But if colorspace used in vectorimage Content (from form)
contains Type 2 (Exponential Interpolation) Functions it is not working.
23 0 obj<>/ExtGState<>/Properties<>>>>>/Name/FRM/Subtype/Form/FormType 1/Matrix[1.0 0.0 0.0 1.0 -183.600006 -21.487183]>>stream________________________________________________________________________________________________________________________endstream
endobj
19 0 obj[/Separation/Black/DeviceCMYK<>]
endobj
So I am getting problem in placing that image content at proper place in pdf page. I can place image content within certain limited area, but if I try to place it in other area by changing matrix , it is not displaying anything out of boundary defined by Type2 function.
How can I change that limits defined by function & place image content anywhere on the page?
Can you suggest me any method or function for it?
Thanks & Regards,
Avinash
| Posted: 06 Jan 2006 04:11 PM |
|
|
| |
|
|