[BLACKBOX] Converters

From: [at]} <Robert>
Date: Tue, 16 Sep 2008 21:43:02 +0100

----boundary-LibPST-iamunique-761398067_-_-
Content-type: text/plain

Hi

I want to write a Converters.Converter (specifically an Importer)
to read Bitmap files useing FreeImage.

I have code that does this, but not packaged as a Converter for
full integration into the BBox framework.

My problem is:

The importer must have the signature:

  "PROCEDURE ImportGifBitmap (f: Files.File; OUT s: Stores.Store)"

whereas FreeImage requires the file to be specified by a PathName.


It there a way of finding a file's pathName?

I know that the file is (probably ?, definately?) of type HostFiles.File, which
has a field 'name', and a Locator which would give the path, but these are not
exported.


Any suggestions?

Cheers

Robert


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-761398067_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhpXHBhcg0KXHBhcg0KSSB3YW50IHRvIHdyaXRl
IGEgQ29udmVydGVycy5Db252ZXJ0ZXIgKHNwZWNpZmljYWxseSBhbiBJbXBvcnRlcilccGFyDQp0
byByZWFkIEJpdG1hcCBmaWxlcyB1c2VpbmcgRnJlZUltYWdlLlxwYXINClxwYXINCkkgaGF2ZSBj
b2RlIHRoYXQgZG9lcyB0aGlzLCBidXQgbm90IHBhY2thZ2VkIGFzIGE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ermail 2.3.0 : Thu Sep 26 2013 - 06:30:54 UTC