Transparency is not correctly exported to some formats
Transparency is not correctly exported to some formats
Dear support:
I noticed that transparent color is not correctly exported to some image formats, such as PDF, EPS, HTM, and GIF (which I assume is due to the number of colors supported by GIF format). Any fixes?
Thanks.
Jeff
I noticed that transparent color is not correctly exported to some image formats, such as PDF, EPS, HTM, and GIF (which I assume is due to the number of colors supported by GIF format). Any fixes?
Thanks.
Jeff
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Jeff,
Yes, that's right, transparency exporting is not supported. I've added your request to our wish-list to be considered for inclusion for future releases.
Yes, that's right, transparency exporting is not supported. I've added your request to our wish-list to be considered for inclusion for future releases.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Transparency is not correctly exported to some formats
Hello.
This issue has been pending now for nearly 3 years. Can it PLEASE be addressed?
Longingly,
Richard.
This issue has been pending now for nearly 3 years. Can it PLEASE be addressed?
Longingly,
Richard.
Re: Transparency is not correctly exported to some formats
Hello Richard,
I have tested your bug and I confirm that when you export image as GIF format, now works fine using last version of TeeChart .Net.
Moreover, I have increased and modified feature request (TF02012471), and we try to solve problem of other formats (PDF,HTM,EPS) to be considered for inclusion in future releases
Thanks,
I have tested your bug and I confirm that when you export image as GIF format, now works fine using last version of TeeChart .Net.
Moreover, I have increased and modified feature request (TF02012471), and we try to solve problem of other formats (PDF,HTM,EPS) to be considered for inclusion in future releases
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Transparency is not correctly exported to some formats
Has there been any progress on this issue?
Re: Transparency is not correctly exported to some formats
Hello drrms,
I am sorry, not yet
Thanks,
I am sorry, not yet
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Transparency is not correctly exported to some formats
Hello.Sandra wrote:Hello Richard,
I have tested your bug and I confirm that when you export image as GIF format, now works fine using last version of TeeChart .Net.
Moreover, I have increased and modified feature request (TF02012471), and we try to solve problem of other formats (PDF,HTM,EPS) to be considered for inclusion in future releases
Thanks,
We have tried the latest TeeChart version and made simple project, that exports chart with transparent background to different formats. All formats, including GIF still comes with black background, instead of transparent. Project archive and gif example in the attach.
- Attachments
-
- SteemaTestProject.rar
- Sample project
- (24.14 KiB) Downloaded 640 times
Re: Transparency is not correctly exported to some formats
Hello Richard,
I tested your project, and I foun that changing next line of code:
for it line:
And adding in ExportButton it:
Background color seems its transparent now. Could you please, check if you are changing first line of code for second line, works fine for you?
I hope will helps.
Thanks,
I tested your project, and I foun that changing next line of code:
Code: Select all
TChart.Panel.Color = Color.Transparent;
Code: Select all
TChart.Panel.Transparent = true;
Code: Select all
private void ExportButton_Click(object sender, EventArgs e)
{
Steema.TeeChart.Drawing.BufferStyle buffer = TChart.Graphics3D.BufferStyle;
TChart.Graphics3D.BufferStyle = Steema.TeeChart.Drawing.BufferStyle.None;
switch (ComboBox.SelectedIndex)
{
case 0:
Export(new BitmapFormat(TChart.Chart));
break;
case 1:
Export(new GIFFormat(TChart.Chart));
break;
case 2:
Export(new JPEGFormat(TChart.Chart));
break;
case 3:
Export(new PNGFormat(TChart.Chart));
break;
}
TChart.Graphics3D.BufferStyle = buffer;
}
I hope will helps.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Transparency is not correctly exported to some formats
Hi.
We have trued suggested solution. Attached archive contains four different outputs. The result is different from what was expected. Bmp, gif, jpg does not present transparency at all. Png gives transparency but renders text using some different font.
We have trued suggested solution. Attached archive contains four different outputs. The result is different from what was expected. Bmp, gif, jpg does not present transparency at all. Png gives transparency but renders text using some different font.
- Attachments
-
- export.rar
- Four export results
- (117.61 KiB) Downloaded 653 times
Re: Transparency is not correctly exported to some formats
Hello Richard,
I could check your problems with exporting and I have added these in bug list report with number [TF02015339]. We will try to fix it for next maintenance releases of TeeChart.Net.
Thanks,
I could check your problems with exporting and I have added these in bug list report with number [TF02015339]. We will try to fix it for next maintenance releases of TeeChart.Net.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |