When i use AddStamp method- pages in my document are overturned!

When i use AddStamp method with my document (in attachment) In result I receive

overturned (turned on 180 degrees) page.

I think this occurs because incorrect processing of /Rotate key in the page object.

Please test this problem and fix it.

Thanks for considering Aspose.

We will test it and give an answer ASAP.

Dear Mavr,

Thank you for considering Aspose.

I have tested the pdf file and found this is a bug. I will fixed it in 2~3 days.

Thank.

In this case I shall not try to bypass the given problem programmatically using the specification of the PDF format, I shall wait, while you will make a correct version for me.

Thanks for good support and a prompt reply.

We have fixed the bug and will attatch a dll in 1~2 days.

Dear Marv,

Please download the dll in the attachment.

Best regards.

I download dll and test, but the result has remained the same(

I use this algorithm:

Dim pages() As Integer = {1, 2, 3, 4, 5}

in_stream = New FileStream("in.pdf", FileMode.Open, FileAccess.Read)

out_stream = New FileStream("out.pdf", FileMode.Create, FileAccess.ReadWrite)

fileStamp = New PdfFileStamp(in_stream, out_stream)

st = New Stamp

st.BindImage("black_white_image.gif")

st.Pages = pages

st.Opacity = 0.03F

st.SetOrigin(90, FileHeight / 2 - 36)

st.IsBackground = False

fileStamp.AddStamp(st)

fileStamp.Close()

in_stream.Flush()

in_stream.Close()

out_stream.Flush()

out_stream.Close()

Please can you test new dll with my algorithm and fix it.

Dear Marv,

Sorry for the old dll in the attachment.

Please download the new dll in this post http://www.aspose.com/Community/Forums/43813/ShowPost.aspx

Best regards.

thanks with new dll all works fine.