BUG REPORT - Diagram Layout changes when you export PNG files

When I spec up my circuits on CircuitLab and then attempt to export PNG files, the layout is not correct. Items move around and mess things up something terrible (Labels overlap others, etc).

Is it possible to get an exact replica of my circuit to appear in the PNG?

by bluenadas
October 09, 2013

Hi bluenadas. The PNG exports should not be any different than the circuit you drew. Can you provide a link to a public circuit that is experiencing this issue. Our engineers will look into it.

by hevans
October 09, 2013

@bluenadas,

Is this circuit you are having problems with?

https://www.circuitlab.com/circuit/47n59m/circuit-lab-report-calculations/

Could you provide some other info that might help the guys at CL?

What web browser are you using?

What OS?

by signality
October 10, 2013

That is the the circuit that shows the layout changes between the editor and the view shown on the drawing page. Just compare the "Voltmeter" label. On the editor it sits within the object outline. On the preview it is covered by the edges.

I'm running Firefox (latest version) on Windows 7.

by bluenadas
October 10, 2013

If I open the schematic in the editor and compare that with the preview of the exported PDF or the PNG, then they appear to be identical.

If I then do Save As... and open the saved files, then they look to be in the same proportions, aspect ratio and text to outline spacings as the image in the editor.

Agreed, the preview in the description page:

https://www.circuitlab.com/circuit/47n59m/circuit-lab-report-calculations/

is not the same as the actual circuit in the editor or the exported images but that is not the image that gets worked on or exported.

Does that explain the difference you're seeing?

by signality
October 10, 2013

Well that is not the case on my end. The preview and saved versions are identical. However, the editor version differs. And given the editor version is the one I want, this is a problem.

I can certainly screenshot the issue and send the shots to you for comparison.

by bluenadas
October 10, 2013

Hi bluenadas. This seems to be a bug on our end with how your custom part renders the text inside it. However it seems that only the preview images are affected (at least in my testing). If you open your circuit and click file export to PNG then I get the correct proportions of the word Voltmeter. Is that the case for you as well?

by hevans
October 10, 2013

No, as I mentioned before, the png export mimics the error seen in the preview.

by bluenadas
October 10, 2013

Post a Reply

Please sign in or create an account to comment.