Hi Lidija,
It looks like the writeImagePgm function was not ported to the
new version of OptiML, as you noted. If you'd like you can submit
a Github issue for an improvement and we'll try to add it in the
short-term. You should also be able to accomplish the same thing
(or something very close) using the basic writeMatrix
functionality with a pre-constructed matrix containing PGM values.
The only thing is you'll need to manually add the PGM header
after-the-fact. Or you could use writeVector with a
DenseVector[DenseVector[String]], where each inner vector
represents a single row of the PGM file, including header.
Hope that helps,
Arvind
--
You received this message because you are subscribed to the Google Groups "OptiML" group.
To unsubscribe from this group and stop receiving emails from it, send an email to optiml+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.