-
Notifications
You must be signed in to change notification settings - Fork 43
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
Issue when loading binary .uff in third-party software #91
Comments
I can help you with debugging it. Can you please provide the minimal code you use? |
Hi, Here is my minimal code, I just change the "binary" variable to export in ASCII or Binary encoding.
|
Thank you @vlef . Can you please double-check it? (and delete all prior test files, just in case so you do not append data) |
Yes I'm using 2.4.3
Did you manage to import the generated binary UFF file in a third-party software such as NCode Glyphworks? |
I am sorry, but I do not have NCode Glyphworks. But the data you provided in binary form is readable and does have the required data. I guess this is a problem of NCode, or? It could be that the NCode has problems with double precision. Can you try using single? Be careful that you use the option Please report back the progress. |
@vlef any progress? Can you try exporting from Ncode in binary format and importing it in pyuff? |
@vlef can we close this issue? |
Hi,
Did you read the data with pyuff again? My point is that it is readable with pyuff, but not readable with other softwares (NCode, but also other signal analysis softwares) I can export binary signal from NCode and importing in pyuff without issues. Yes, I tried also with force_double=False, and the result is the same when importing the output in NCode : |
Can read the txt file in NCode and save it as binary from there? Please provide the binary file, as exported from NCode, here. I will try to help. |
Hello,
I'm encountering an error when loading a .UFF file generated by pyuff into a third-party software (such as NCode Glyphworks for example).
Importing the file results in abnormal values (cf picture below). This error only occurs when the export is in "binary" format.
Attached are two examples : Binary (incorrect) and ASCII (correct) exports. The only difference is the "Binary" field.
I'm using pyuff 2.4.3
Thanks for your help
test_ascii.uff.txt
test_binary.uff.txt
The text was updated successfully, but these errors were encountered: