DataTools

pixelnoizz's picture

hi,

really nice work, the only question of mine is that how it is possible to utilize the convert from and to data patch? Iam trying to handle the raw data but i cant. For example i can import an image and go through with the convert plugins, but if i wish to manipulate the data (as a structure, string or whatever) that part is just not working. Maybe iam wrong or undereducated with data formats.

thanks,

d.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

cybero's picture
Re: DataTools

Have you already downloaded the example compositions from github?

I found that by navigating to raw file mode and downloading as All Files that I had an editable and workable version of the demonstrata.

gtoledo3's picture
Re: DataTools

There's not a composition for demonstrating the use of raw data type afaik, though, which is what I'm taking the question to ask.

I'm not sure that there's a use beyond theoretical...

However, I have a problem building this (thanks for posting @ kineme AND for leaving the splitter stuff in, but commented!).

It looks like the SkankySDK may have been updated internally, but not here?

There's this line:

KIEnsureSystemVersion;

That's not in the SkankySDK, which keeps it from building. How should we update the SkankySDK.h file to get it to build?

cybero's picture
Re: DataTools

A pretty simple Convert To and From example - been failing to load images as data via Directory Scanner, hence one embedded image is used.

PreviewAttachmentSize
convertandfrom.qtz84.45 KB

jstrecker's picture
Re: DataTools

The Convert To Data / Convert From Data patches were actually written to solve a problem in NetworkTools, namely how to get binary data (like images) into / out of a POST request.

Here's a sample composition showing how that works.

I don't know of other use cases at the moment but we were anticipating that there would be so that's why the patches are in DataTools.

gtoledo3's picture
Re: DataTools

Any word on getting it to build, re: the line not in the skankySDK (I'm guessing that's the problem)?

jstrecker's picture
Re: DataTools

Download the SkankySDK from GitHub -- I just posted an updated version that defines KIEnsureSystemVersion.

gtoledo3's picture
Re: DataTools

Awesome... that method is clever. It's cool that you just put the whole skankySDK up on github as well! Thanks for the info on the unit testing.