<apache2_>
camlimages, if you plan to include rasterized images in your documents. Camlimages can be hard to build, which is why we wrote an easy version[LINK TO imagelib].
<apache2_>
haha, that is very subtle! "so we would use this other library, but it's hard to install, so we wrote a png parser instead"
<apache2_>
rgrinberg: did you know of it previously or did you just find it now? (interested what search query you used)
rossberg_ has quit [Ping timeout: 255 seconds]
pete_8 has joined #ocaml
<def`>
apache2_: I recommend (and use) my bindings to stb_image
<def`>
support various formats (PNG, JPG, ...) very easy to install (just needs a C compiler but no other deps)
<def`>
(it is battle tested code, but there is no guarantee of safety :P)
mfp_ has joined #ocaml
<apache2_>
def`: thank you for the tip, but I am looking for a "pure" ocaml implementation, ie no external C dependencies. :)
rossberg_ has joined #ocaml
<def`>
apache2_: it has no external C dependencies
<def`>
but it has C code
<def`>
(the jpeg decoder is embedded in the ocaml stub)
<apache2_>
looks like it depends on libc and zlib
<apache2_>
def`: interesting library though!
<def`>
yes it uses libc (the ocaml runtime too, so it has no extra dependencies), but no need for zlib
<apache2_>
yes, but in mirage you only have a small subset of libc available
<def`>
I suspect it works with mirage :P (otherwise I am willing to make it work with)
olibjerd has quit [Quit: olibjerd]
<def`>
although it should work with menhir, I would be worried about safety issues. You have a mostly safe stack, and the component parsing image input --- from the outside world --- is in a completely unsafe one :)
<def`>
s/menhir/mirage
<apache2_>
def`: yeah, that's why I'd prefer a pure version. also because I don't know how to debug crashes inside the xen PVMs, so havin it *not* crash would be nice :)
<def`>
apache2_: that's an interesting problem. One would need to invest some time to solve this problem properly.
<apache2_>
I'm unemployed :)
<def`>
:D
ygrek has quit [Ping timeout: 240 seconds]
sgronblo has quit [Ping timeout: 240 seconds]
moei has joined #ocaml
olibjerd has joined #ocaml
mengu has joined #ocaml
govg has joined #ocaml
zpe has joined #ocaml
_andre has joined #ocaml
sgronblo has joined #ocaml
zpe has quit [Remote host closed the connection]
sgronblo has quit [Ping timeout: 240 seconds]
CcxWrk has quit [Read error: Connection reset by peer]
zpe has joined #ocaml
AlexRussia has quit [Ping timeout: 240 seconds]
silver has joined #ocaml
dhil_ has joined #ocaml
AlexRussia has joined #ocaml
dhil_ has quit [Client Quit]
AlexRussia has quit [Ping timeout: 240 seconds]
picolino has quit [Ping timeout: 240 seconds]
Guest35883 has quit [Ping timeout: 246 seconds]
picolino has joined #ocaml
sgronblo has joined #ocaml
CcxWrk has joined #ocaml
mengu has quit [Remote host closed the connection]
mengu has joined #ocaml
cggong has joined #ocaml
cggong has quit [Quit: cggong]
al-damiri has joined #ocaml
cranmax has joined #ocaml
cggong has joined #ocaml
cggong has quit [Quit: cggong]
keyjoo_ has joined #ocaml
cggong has joined #ocaml
cggong has quit [Client Quit]
dhil has joined #ocaml
sh0t has quit [Ping timeout: 240 seconds]
sh0t has joined #ocaml
shinnya has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 240 seconds]
samrat has joined #ocaml
agravier has quit [Quit: agravier]
samrat has quit [Ping timeout: 246 seconds]
ziyourenxiang has joined #ocaml
AlexRussia has joined #ocaml
cggong has joined #ocaml
ryanartecona has joined #ocaml
sh0t has quit [Remote host closed the connection]
MercurialAlchemi has joined #ocaml
agravier has joined #ocaml
shinnya has quit [Ping timeout: 255 seconds]
cranmax has quit [Quit: Connection closed for inactivity]
agravier has quit [Quit: agravier]
freusque has quit [Quit: WeeChat 1.7]
freusque has joined #ocaml
zpe_ has joined #ocaml
greyback has joined #ocaml
zpe__ has joined #ocaml
zpe has quit [Ping timeout: 255 seconds]
FreeBirdLjj has joined #ocaml
zpe_ has quit [Ping timeout: 240 seconds]
enterprisey has joined #ocaml
samrat has joined #ocaml
rand__ has joined #ocaml
copy` has joined #ocaml
freusque has quit [Quit: WeeChat 1.7]
greyback has left #ocaml [#ocaml]
alfredo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
micro has joined #ocaml
micro is now known as Guest82089
FreeBirdLjj has quit [Remote host closed the connection]
Guest82089 is now known as micro_
rand__ has quit [Quit: leaving]
dhil has quit [Ping timeout: 240 seconds]
cggong has quit [Quit: cggong]
dtornabene has joined #ocaml
AlexRussia has quit [Ping timeout: 255 seconds]
SpiceGuid has joined #ocaml
dtornabene has quit [Read error: Connection reset by peer]
dtornabene has joined #ocaml
rand__ has joined #ocaml
rand__ has quit [Client Quit]
slash^ has joined #ocaml
mengu has quit [Remote host closed the connection]
mengu has joined #ocaml
ontologiae_ has joined #ocaml
mengu has quit [Ping timeout: 246 seconds]
AltGr has left #ocaml [#ocaml]
SpiceGuid has quit [Quit: ChatZilla 0.9.93 [SeaMonkey 2.46/20161213183751]]
sepp2k has quit [Ping timeout: 260 seconds]
dtornabene has quit [Read error: Connection reset by peer]
dtornabene has joined #ocaml
shinnya has joined #ocaml
dhil has joined #ocaml
zpe__ has quit [Remote host closed the connection]