Page 1 of 1

Transparency is not correctly exported to some formats

Posted: Mon Sep 24, 2007 11:39 pm
by 9643227
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

Posted: Tue Sep 25, 2007 9:13 am
by narcis
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.

Re: Transparency is not correctly exported to some formats

Posted: Wed Jun 16, 2010 5:00 pm
by 15656057
Hello.

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

Posted: Thu Jun 17, 2010 10:49 am
by 10050769
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,

Re: Transparency is not correctly exported to some formats

Posted: Tue Jul 20, 2010 12:03 pm
by 15656057
Has there been any progress on this issue?

Re: Transparency is not correctly exported to some formats

Posted: Tue Jul 20, 2010 12:16 pm
by 10050769
Hello drrms,


I am sorry, not yet


Thanks,

Re: Transparency is not correctly exported to some formats

Posted: Tue Jul 20, 2010 2:26 pm
by 15653155
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,
Hello.
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.

Re: Transparency is not correctly exported to some formats

Posted: Wed Jul 21, 2010 12:23 pm
by 10050769
Hello Richard,

I tested your project, and I foun that changing next line of code:

Code: Select all

TChart.Panel.Color = Color.Transparent;
for it line:

Code: Select all

TChart.Panel.Transparent = true;
And adding in ExportButton it:

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;
		}
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,

Re: Transparency is not correctly exported to some formats

Posted: Thu Dec 30, 2010 3:18 pm
by 15653155
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.

Re: Transparency is not correctly exported to some formats

Posted: Thu Dec 30, 2010 4:30 pm
by 10050769
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,