|
The border is fine. But the edge of the picture is not gone.
|
Due to the complexity in the reported issue, we are still validating the issue and we will update the further details on May 15 2020. |
|
The coordinates of PhotoFrame were ignored and OpacityMask was not processed.
|
We do not have support for rendering opacity mask in canvas while converting XPS to PDF. We have already added in feature request for this. But we do not have any immediate plans to implement this feature.
You can tract the feature status using below link,
|
|
The empty space in the viewbox is painted black and not transparent.
The transparent area of the png image is painted black
|
We have checked the reported issue and it is working properly in our end. The transparent is properly added in the converted PDF document.
We have attached output PDF document for your reference.
Please find the output document below,
|
|
I want to generate pdf like attached jpg.
Can I use the syncfusion function to copy the page and flip it to create the same result without using tilemode?
I hope the tilemode will fix the problem if there are no other features. |
We can able to generate the PDF like attached jpg to skip the tile mode in ImageBrush. If you want flip the image in PDF document you must use the Tile mode.
Please let us know if you want any further details on this.
|
|
The border is fine. But the edge of the picture is not gone. |
We do not have support for rendering image with corner radius while converting XPS to PDF. We have already added in feature request for this. While implementing this feature we will add support to rendering image with corner radius. But we do not have any immediate plans to implement this feature.
You can tract the feature status using below link,
|
|
I want to check the viewbox part and apply it to my project.
I downloaded version 18.1.0.52 and replaced all references.
Syncfusion.Compression.base
Syncfusion.Linq.base
Syncfusion.Pdf.base
But it doesn't work. Should I apply it another way?
|
We can able to reproduce the issue with latest version 18.1.0.52. we have confirmed that the issue with is a defect. The fix for this issue is estimated to be available on May 29th 2020.
|
|
TileMode.FlipXY doesn't work properly.
Please check the code and file I attached.
|
We were able to reproduce the reported issue. Currently we are validating on this and will update the further details on May 19th 2020. |
|
TileMode.FlipXY doesn't work properly.
Please check the code and file I attached.
|
We were able to reproduce the reported issue. Currently we are validating on this and will update the further details on May 19th 2020 |
On our further analysis, we do not have support for rendering image with different tile mode while converting XPS to PDF. We have created feature request for this. But we do not have any immediate plans to implement this feature.
You can tract the feature status using below link,
|
|
static void test_viewbox()
{
FixedPage fixed_page = new System.Windows.Documents.FixedPage();
fixed_page.Width = 100 * 96 / 25.4;
fixed_page.Height = 100 * 96 / 25.4;
Canvas canvas = new Canvas();
canvas.Background = Brushes.AliceBlue;
canvas.Width = fixed_page.Width;
canvas.Height = fixed_page.Height;
PhotoFrame pf = new PhotoFrame();
pf.FileName = @"d:\11.jpg";
pf.Width = 50 * 96 / 25.4;
pf.Height = 50 * 96 / 25.4;
pf.BorderBrush = System.Windows.Media.Brushes.Red;
pf.BorderThickness = 1;
pf.Viewbox = new Rect(0, 0, 2, 2);
Canvas.SetLeft(pf, 25 * 96 / 25.4);
Canvas.SetTop(pf, 25 * 96 / 25.4);
canvas.Children.Add(pf);
fixed_page.Children.Add(canvas);
MakePdf(@"test_viewbox_output.pdf", fixed_page);
MakeJpg(@"test_viewbox_output.jpg", fixed_page);
} |