info@orienteering.ie

Forum

Notifications
Clear all

Cannot import .jpg into Ór

2 Posts
2 Users
0 Reactions
126 Views
Posts: 71
Topic starter
(@formline)
Estimable Member
Joined: 12 years ago

Has anyone encountered this before: the planner has designed the courses in OCAD and has exported the courses .xml file and the Map .jpg file. The courses .xml file imports into Ór no problem, but the map import says "Could not draw map. Are you sure you imported the correct file?"
The .jpg is 150dpi
Does anyone have any suggestions about how to resolve this?

Thanks

Marcus Geoghegan

Ajax

1 Reply
Posts: 28
Admin
(@martin)
Member
Joined: 5 years ago

IIRC, the only times I ever saw that error was while I was writing this feature, many years ago.  I think it was due to a memory overflow while Ór was internally rendering the image.  With a DPI of 150, I am surprised this is happening, even if the map is very big.

The first thing I would suggest, though you have probably tried this already, is to restart Ór.  I think the Java library doing the work was slow to release memory, so a hunk of your heap may be taken up with a previous attempt.

Otherwise, if you email me the jpeg file, I'll take a look.

Martin

Reply
Share:

Orienteering in Ireland
Orienteering Ireland, Irish Sport HQ, Blanchardstown
D15 DY62, Ireland