ArrayArrayArray BrainModular BrainModular Users Forum 2017-10-29T17:01:41+02:00 https://brainmodular.org/forums/app.php/feed/topic/5917 2017-10-29T17:01:41+02:00 2017-10-29T17:01:41+02:00 https://brainmodular.org/forums/viewtopic.php?t=5917&p=38215#p38215 <![CDATA[sdk load bitmap file]]>
In fact i didn't know it was actually possible to load a lets say jpg file and convert/load it as frame/array of pixel within the code, but if so thats perfect for me,
ill have a look at video modules i reckon i had not digged in yet sorry, thanks.

Statistics: Posted by 23fx23 — 29 Oct 2017, 16:01


]]>
2017-10-29T10:50:22+02:00 2017-10-29T10:50:22+02:00 https://brainmodular.org/forums/viewtopic.php?t=5917&p=38210#p38210 <![CDATA[sdk load bitmap file]]>
In the next SDK 7.01.003 I'll add a new ParamType : ptFileName which create an input for file names in the user module.

Also another field in ParamInfo:

CODE:

AnsiCharPtr       FileNameFilter;       ///< optional&#58; filter used to open file when ParamType = ptFileName                                                ///< ie&#58; "All files &#40;*.*&#41;|*.*" or "'All Images |*.png; *.jpg; *.jpeg; *.bmp; *.tiff; *.gif"
The main pb is not to open a bitmap, it's to manipulate this bitmap... It's a long job to include bitmap manipulation procedure in the SDK.
I suggest you to take a look to video modules examples in the SDK. Frames are matrix of pixels which are easy to use in the SDK.

Statistics: Posted by senso — 29 Oct 2017, 09:50


]]>
2017-10-22T21:06:10+02:00 2017-10-22T21:06:10+02:00 https://brainmodular.org/forums/viewtopic.php?t=5917&p=38107#p38107 <![CDATA[sdk load bitmap file]]> ideally within a module internal via sdk.

one application i personally would love to test would be for ex converting greyscale images to wavtables (an X slice of pixels luma being samples amplitudes array, Y slices being wavtable number), or internally display background images for knobs and stuff, but think there could be many applications.

Statistics: Posted by 23fx23 — 22 Oct 2017, 21:06


]]>
BrainModular BrainModular Users Forum 2017-10-29T17:01:41+02:00 https://brainmodular.org/forums/app.php/feed/topic/5917 2017-10-29T17:01:41+02:00 2017-10-29T17:01:41+02:00 https://brainmodular.org/forums/viewtopic.php?t=5917&p=38215#p38215 <![CDATA[sdk load bitmap file]]>
In fact i didn't know it was actually possible to load a lets say jpg file and convert/load it as frame/array of pixel within the code, but if so thats perfect for me,
ill have a look at video modules i reckon i had not digged in yet sorry, thanks.

Statistics: Posted by 23fx23 — 29 Oct 2017, 16:01


]]>
2017-10-29T10:50:22+02:00 2017-10-29T10:50:22+02:00 https://brainmodular.org/forums/viewtopic.php?t=5917&p=38210#p38210 <![CDATA[sdk load bitmap file]]>
In the next SDK 7.01.003 I'll add a new ParamType : ptFileName which create an input for file names in the user module.

Also another field in ParamInfo:

CODE:

AnsiCharPtr       FileNameFilter;       ///< optional&#58; filter used to open file when ParamType = ptFileName                                                ///< ie&#58; "All files &#40;*.*&#41;|*.*" or "'All Images |*.png; *.jpg; *.jpeg; *.bmp; *.tiff; *.gif"
The main pb is not to open a bitmap, it's to manipulate this bitmap... It's a long job to include bitmap manipulation procedure in the SDK.
I suggest you to take a look to video modules examples in the SDK. Frames are matrix of pixels which are easy to use in the SDK.

Statistics: Posted by senso — 29 Oct 2017, 09:50


]]>
2017-10-22T21:06:10+02:00 2017-10-22T21:06:10+02:00 https://brainmodular.org/forums/viewtopic.php?t=5917&p=38107#p38107 <![CDATA[sdk load bitmap file]]> ideally within a module internal via sdk.

one application i personally would love to test would be for ex converting greyscale images to wavtables (an X slice of pixels luma being samples amplitudes array, Y slices being wavtable number), or internally display background images for knobs and stuff, but think there could be many applications.

Statistics: Posted by 23fx23 — 22 Oct 2017, 21:06


]]>