Xojo Conferences
XDCMay2019MiamiUSA

[MBS] Large Picture Plugin Combine examples? (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] [ANN] 15.1pr6
Next thread: [MBS] Dropping email attachments onto Xojo app?


Re: [MBS] PortAudio fun followup 2   -   Garth Hjelte
  [MBS] Large Picture Plugin Combine examples?   -   Peter Truskier
   Re: [MBS] Large Picture Plugin Combine examples?   -   Christian Schmitz
   Re: [MBS] Large Picture Plugin Combine examples?   -   Peter Truskier
   Re: [MBS] Large Picture Plugin Combine examples?   -   Peter Truskier
   Re: [MBS] Large Picture Plugin Combine examples?   -   Christian Schmitz
   Re: [MBS] Large Picture Plugin Combine examples?   -   Peter Truskier
    Re: [MBS] Large Picture Plugin Combine examples?   -   Kevin Gale
   Re: [MBS] Large Picture Plugin Combine examples?   -   Christian Schmitz

[MBS] Large Picture Plugin Combine examples?
Date: 21.04.15 20:05 (Tue, 21 Apr 2015 12:05:23 -0700)
From: Peter Truskier
Are there any examples of all the variations of the .Combine function?

Re: [MBS] Large Picture Plugin Combine examples?
Date: 23.04.15 06:53 (Thu, 23 Apr 2015 07:53:37 +0200)
From: Christian Schmitz

> Currently, two of the images get put through Einhugur’s “MapEffect” so as to make their values go from 255 to 128 instead of 255 to 0. (i.e., as though using a 50% gray mask).

For this first thing you can find picture.transfrom in Xojo built in. Also via MBS Plugin I have a similar function with a thread friendly version.

> These two images then get combined (multiplied) on top of the third image (using Einhugur’s “BlendEffect” with a mode of “PictureEffectsBlendMode.MULTIPLY").

Could be the Combine does similar.

Sincerely
Christian

Re: [MBS] Large Picture Plugin Combine examples?
Date: 22.04.15 19:22 (Wed, 22 Apr 2015 11:22:48 -0700)
From: Peter Truskier
Thanks for the clarification…

—pt

Re: [MBS] Large Picture Plugin Combine examples?
Date: 22.04.15 23:34 (Wed, 22 Apr 2015 15:34:52 -0700)
From: Peter Truskier
Thanks so much for the information and willingness to share, Kevin.

I’ve just briefly looked at the methods. I’m wanting to replace the use of a couple of Einhugur PictureEffects plugin methods because they are running into memory issues with very large raster images. I’m hoping that the MBS plug-in will not have that problem.

I need to combine three images, all the same pixel dimensions into a single Xojo picture object.

Currently, two of the images get put through Einhugur’s “MapEffect” so as to make their values go from 255 to 128 instead of 255 to 0. (i.e., as though using a 50% gray mask). These two images then get combined (multiplied) on top of the third image (using Einhugur’s “BlendEffect” with a mode of “PictureEffectsBlendMode.MULTIPLY").

Can you suggest the best way to accomplish that with the MBS LargePicture plug-in?

Thanks again for your help...

Re: [MBS] Large Picture Plugin Combine examples?
Date: 22.04.15 18:23 (Wed, 22 Apr 2015 19:23:31 +0200)
From: Christian Schmitz

>
> Is this plug-in based on some existing and documented third-party library? I’m hoping to get more information on what some of the parameters (e.g., what does “PreMultipliedSource” mean)…

Those are functions I made for a client and they work for him.

PreMultipliedSource means the RGB and alpha value in a source picture are premultiplied already.
Normally with Xojo and masks they are not, while alpha channel pictures have it premultiplied.

Sincerely
Christian

Re: [MBS] Large Picture Plugin Combine examples?
Date: 22.04.15 17:48 (Wed, 22 Apr 2015 09:48:53 -0700)
From: Peter Truskier
That’s too bad.

Is this plug-in based on some existing and documented third-party library? I’m hoping to get more information on what some of the parameters (e.g., what does “PreMultipliedSource” mean)…

Re: [MBS] Large Picture Plugin Combine examples?
Date: 22.04.15 23:11 (Wed, 22 Apr 2015 23:11:45 +0100)
From: Kevin Gale
Hi Peter

The functions were added specifically for our application. It is similar to a DTP app but designed for the photo gift market (photobooks, calendars, mugs etc...). We are taking several raster based objects (images, text, shapes) and compositing them to generate pages that are eventually printed on a digital press.

We were performing certain actions such as flattening pictures with a mask onto a coloured background and masking solid colour foregrounds via RB code so we commissioned Christian to write faster versions.

If you have any specific questions I might be able to answer them for you.

Regards
Kevin


> On 22 Apr 2015, at 17:48, Peter Truskier <<email address removed>> wrote:
>
> That’s too bad.
>
> Is this plug-in based on some existing and documented third-party library? I’m hoping to get more information on what some of the parameters (e.g., what does “PreMultipliedSource” mean)…
>
> --
> Peter Truskier
>
>
>> On Apr 21, 2015, at 11:27 PM, Christian Schmitz <<email address removed>> wrote:
>>
>>
>>> Am 21.04.2015 um 21:05 schrieb Peter Truskier <<email address removed>>:
>>>
>>> Are there any examples of all the variations of the .Combine function?
>>
>> No.
>>
>> Sincerely
>> Christian
>>
>> --
>> Read our blog about news on our plugins:
>>
>> http://www.mbsplugins.de/
>>
>> _______________________________________________
>> Mbsplugins_monkeybreadsoftware.info mailing list
>> <email address removed>
>> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
>
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> <email address removed>
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] Large Picture Plugin Combine examples?
Date: 22.04.15 07:27 (Wed, 22 Apr 2015 08:27:32 +0200)
From: Christian Schmitz

> Am 21.04.2015 um 21:05 schrieb Peter Truskier <<email address removed>>:
>
> Are there any examples of all the variations of the .Combine function?
>

No.

Sincerely
Christian