import-bmp "Format specifier/argument type mismatch"

import-bmp "Format specifier/argument type mismatch"

infoBKDH3
Participant Participant
527 Views
2 Replies
Message 1 of 3

import-bmp "Format specifier/argument type mismatch"

infoBKDH3
Participant
Participant

I would like to import a bitmap into my PCB design using the ULP script "import-bmp". Everything seems to work fine: opening the bitmap, selecting colours and even when I click "show BitMaP" in the final dialog window it is able to properly show me my bitmap. But then I click "OK", which gives me the following error message: 

 

Error: <html>/Users/<my_username>/Library/Application Support/Autodesk/webdeploy/production/730a059d1ffbbf4403b5320eacd667066bfc243e/Autodesk Fusion 360.app/Contents/Libraries/Applications/Electron/LibEagle/examples/ulps/examples/import-bmp.ulp(820):<br><br>Format error in call to 'printf()':<br><pre>"...s/230203 bitmap patterns/10 dpi 10%.bmp' (0 %.4f);\n"<br> ^</pre>Format specifier/argument type mismatch</html>

 

How to solve this problem?

0 Likes
Accepted solutions (1)
528 Views
2 Replies
Replies (2)
Message 2 of 3

jorge_garcia
Autodesk
Autodesk
Accepted solution

Hi @infoBKDH3,

 

Try renaming the bitmap so that it doesn't have the % sign in it. Special characters in filenames can sometimes create problems and I think that's what's going on here.

 

Let me know if there's anything else I can do for you.

 

Best Regards,



Jorge Garcia
​Product Support Specialist for Fusion 360 and EAGLE

Kudos are much appreciated if the information I have shared is helpful to you and/or others.

Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.
Message 3 of 3

infoBKDH3
Participant
Participant
Yes, thank you!
0 Likes