Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The "export" command in some cases cuts images #185

Open
Max2433BO opened this issue May 6, 2020 · 0 comments
Open

The "export" command in some cases cuts images #185

Max2433BO opened this issue May 6, 2020 · 0 comments
Assignees
Labels
bug This issue describes a bug export Everything related to the export functions

Comments

@Max2433BO
Copy link
Contributor

Max2433BO commented May 6, 2020

Hi @DarwinNE ,

testing FidoCadJ 0.24.8_epsilon, I found an anomaly in the "export" command:

if you use it with the measurements in pixels, by entering certain dimensions, the image is not correctly scaled.

For example: this figure measures 390x897 pixels (x / y) in the FidoCadJ grid

prova_390x897

By experimenting, it is possible to reduce, with the "export" command, up to 108x224 (27% for the x axis and 25% for the y axis)

prova_108x224

if you go further down, parts of the drawing are missing.

Even if the reduction is unbalanced between the x and y axes, parts may be missing.
Here, for example, reducing the x-axis to 27% and the y-axis to 35%, we see that part of the writing at the bottom starts to be missing on the right.

prova_108x314

In my opinion it would be convenient:

1)Limit the reduction to 30% per axis.
2)Connect the ratio of the x and y inputs based on the ratio of width and height of the original image: for example if I set the size x, the program should automatically set the size y and vice versa.

Note: The "export" command in dpi mode has no problems, even at the minimum resolution of 72x72 dpi.

That's all...
... at the moment ;)

Bye, Max

P.S.
this is the original test image file .fcd (renamed as .txt)

Valvola_termoionica.txt

@DarwinNE DarwinNE self-assigned this May 6, 2020
@DarwinNE DarwinNE added this to the FidoCadJ 0.24.8 milestone May 6, 2020
@DarwinNE DarwinNE added bug This issue describes a bug export Everything related to the export functions labels May 6, 2020
@DarwinNE DarwinNE removed this from the FidoCadJ 0.24.8 milestone Jun 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue describes a bug export Everything related to the export functions
Projects
None yet
Development

No branches or pull requests

2 participants