Thanks Tim, this seems very useful. I have not been able, however, to find the DFDL schema the author of the thread talks about.

Best,
Joseph

Il giorno 02 gen 2017, alle ore 15:35, Tim Thompson <timathom@gmail.com> ha scritto:

Joseph,

This thread from the xml-dev list might be of interest to you: http://lists.xml.org/archives/xml-dev/201612/msg00004.html. It discusses DFDL (Data Format Description Language), an XML schema used in parsing binary files (http://dfdlschemas.github.io/).

--
Tim A. Thompson
Metadata Librarian (Spanish/Portuguese Specialty)
Princeton University Library


On Mon, Jan 2, 2017 at 6:14 AM, meumapple <meumapple@gmail.com> wrote:
Hi Christian,

I recently had to deal with a Python library allowing to convert a png image into a matrix composed of pixel tuples [[(255,255,255), ], ...] which can then be changed and then saved back into png. I found it easy to manipulate it (ie, change colors, dimensions, etc...), so I was thinking that something similar in XQuery would be helpful for those working with images.

Cheers,
J.

Il giorno 02 gen 2017, alle ore 11:42, Christian GrĂ¼n <christian.gruen@gmail.com> ha scritto:

Hi Joseph,

There is no existing library for accessing image data. I would
recommend you to take advantage of one of the various Java libraries.

What exactly would you like to do with the image information?

Cheers,
Christian




> On Sun, Dec 25, 2016 at 6:11 PM, meumapple <meumapple@gmail.com> wrote:
> Hi All,
>
> Is there a way to access images in BaseX as sequences of pixels? Thanks.
>
> Joseph