CyberLink Community Forum
New tool for creating custom PiP masks available! Mask Converter 2.0  XML
Forum Index » PowerDirector (8 and earlier)
Author Message
CharlesF

Newbie

Joined: 16/04/2009 17:49:03
Messages: 57
Location: Everett, Washington. U.S.A.
Offline

Hello folks,

I am not affiliated with CyberLink. I'm just a software developer and a fan of PowerDirector 7.

Below is a link to where you can download my new "Mask Converter" utility. This tool allows you to convert a bitmap image into a PiP mask for use in PowerDirector 7's PiP Designer.

I am offering this for FREE. However, I ask that you please consider a donation, because I did spend considerable time on this. Even if you just donate $1, at least donate something to say you appreciate it.

Here are some screenshots:





Note: The most important thing to remember when creating your bitmap is to disable antialiasing and dithering. Only pure white pixels (#FFFFFF) will be used as transparent areas. All other colors will be masked out.

Here's the link to download it...

Download Mask Converter 2.0 (build 2.0.4)

And here's a link to the latest HOW TO video...

How to create a custom PiP Mask

HAPPY MASK CREATING!!!

Respectfully,
Charles Forsyth

Moderator notation: A contribution of $5 to $10 is a good figure, it is a thank you for a super tool.

This message was edited 10 times. Last update was at 31/07/2009 00:24:20

[WWW]
Antiekeradio

Newbie

Joined: 20/10/2008 03:24:45
Messages: 22
Location: Netherlands, EU
Offline

One thing I wonder about; how does PD use these SD mask files for HD content??

[WWW]
Georg (VI)

Senior Contributor

Joined: 18/03/2007 06:27:52
Messages: 1143
Location: Korschenbroich / Deutschland
Offline

WOW

I am ready to translate the text for german users - if you wish!

This message was edited 3 times. Last update was at 02/05/2009 06:03:25


Viele Gruesse Georg
Video-Portal und privates Forum
[WWW]
BabInd

Contributor

Joined: 16/08/2007 03:11:29
Messages: 523
Location: India
Offline

Brilliant is all that there to say !

Best "Motion pictures" happen when you are still
CharlesF

Newbie

Joined: 16/04/2009 17:49:03
Messages: 57
Location: Everett, Washington. U.S.A.
Offline

Georg (Video-Intern) wrote:WOW

I am ready to translate the text for german users - if you wish!


Thank you for your generous offer. If you provide the text, I'll see what I can do to build a version for German users.
[WWW]
CharlesF

Newbie

Joined: 16/04/2009 17:49:03
Messages: 57
Location: Everett, Washington. U.S.A.
Offline

Antiekeradio wrote:One thing I wonder about; how does PD use these SD mask files for HD content??


It is my assumption that PD probably does support higher resolution masks. I just went with those mask resolutions because they were the first I found to be divisible by 16. 1080 is not. (you can't define a half pixel)

I don't think the resolution of your mask needs to be that high anyway. It's just a mask. The image coming through the mask is still HD.

The only place you notice the mask's resolution is at round or diagnal edges. If your resolution is high enough, the human eye can't see it without magnification.

I believe the resolution I picked for 16:9 masks is high enough that circular and diagnal lines don't appear "stepped" or jagged.

Though if you want to do the math, give me dimensions for higher resolution that are divisible by 16 and I'll add them to the list of possible resolutions.

In a future version I might just allow any resolution, as long as it's divisible by 16. One thing I noticed already is that there are no "portrait" mask layouts. They are all "landscape."

I have photos that I take at 90 degrees (portrait) so they are 3:4, not 4:3.
Support for this will definitely be in the next version.
[WWW]
Dafydd Bevan - SoftDeko

Senior Contributor

Joined: 26/08/2006 05:20:41
Messages: 7722
Offline

Well done Charles.

The first test I carried out didn't work while the second test was fine.

In my first test I used a black background 16:9 image with a "few" squiggles and a 50% soft edge. The display just gave me a clear mask.
On my second test I used a beige background with a crisp white shape. Charles' Mask Converter worked a treat.

I think Charles asked about a gradient edge earlier in this post, that was the reason for my test I just wanted to see the result.

Microsoft .net is required for the Mask Converter to function.

Dafydd

This message was edited 3 times. Last update was at 02/05/2009 10:30:34


CyberLink PowerDirector Video Editor = 2,2.5,3,4,5,5Premium,6,7,8,9,10
Additional software used for editing:
CyberLink MediaShow 5 = Preview display, edit, tag and select photographs and video.
CyberLink Power2Go = Disc writing software, sits well with PowerDirector.
CyberLink YouCam 5 Deluxe = ... inc Video Screen Capture, an excellent tool.
Image Editor = One that makes transparent background PNG files is a "must have".
Gif Animation = Creating and converting an animation can give one's video a little "edge".
Started with 8mm splice editing and B&W still image darkroom photography.
CyberLink PowerDirector 10 Tutorials = 18 tutorials (15 displayed and 3 to come)
Georg (VI)

Senior Contributor

Joined: 18/03/2007 06:27:52
Messages: 1143
Location: Korschenbroich / Deutschland
Offline

1) A little donate is on the way

2) I make a little workflow for german users on my board. It is very easy to use, so I think I will wait for question from german users.

Viele Gruesse Georg
Video-Portal und privates Forum
[WWW]
Antiekeradio

Newbie

Joined: 20/10/2008 03:24:45
Messages: 22
Location: Netherlands, EU
Offline

CharlesF wrote:The only place you notice the mask's resolution is at round or diagnal edges. If your resolution is high enough, the human eye can't see it without magnification.


I will try some diagonal lines, that was exactly the reason I asked.

(want to do a PiP with diagonal division of the whole screen)

This message was edited 1 time. Last update was at 02/05/2009 13:38:36

[WWW]
Tony

Member

Joined: 05/01/2009 12:31:48
Messages: 148
Location: Australia
Offline

Great work Charles – you have certainly moved at lightning speed to provide an answer to the question you asked only a few days ago. Staggering speed and a pretty definitive answer to your own question.

29 April, ’09: Charles asks the question.
“Is it possible to create and use a custom mask in the PiP designer for PD7?”

30 April, ’09: Time 1:50:12 – Charles posts a mask.
“Confirmed. I was able to build a 16:9 ratio mask that masks out the entire left half.”
Time 16:07:15 – Charles completes Converter version 1.
“Ok, the BMP to MSK Converter Utility v1.0 (beta) is done!”

1 May, ’09: Charles completes Converter version 2.
“Below is a link to where you can download my new "Mask Converter" utility. This tool allows you to convert a bitmap image into a PiP mask for use in PowerDirector 7's PiP Designer. This is version 2.0 and that means major improvements over 1.0.”

I’m away from home right now & PowerDirector didn’t come with me this time (!) – so, when we’re reunited , I’ll test the converter utility and post results.

Once again – well done Charles.


Cheers -

Tony

Tread gently and you'll hear the daisies grow...
[MSN]
CharlesF

Newbie

Joined: 16/04/2009 17:49:03
Messages: 57
Location: Everett, Washington. U.S.A.
Offline

Dafydd Bevan - SoftDeko wrote:I think Charles asked about a gradient edge earlier in this post, that was the reason for my test I just wanted to see the result.

The key (perhaps I didn't put enough emphasis on this) is that only pixels with an RGB color value of #FFFFFF (pure white) will appear as transparent. Any other color should be masked out.

So if you use dithering or antialiasing your results will not be as clean as you hope.

I was told (I did not confirm) that PowerDirector7 does not support gradient values for each byte. So that means: Each pixel, defined in the finished mask file, can be either true [FF] (transparent) or false [00] (masked).

So, with that said...

I suggest that when creating your drawing using an line, oval or rectangle tool, make sure that you disable antialiasing. And if you resize your image, make sure you disable dithering. Resizing an image often uses dithering algorithms to help with distortion. This technique often change the colors of individual pixels. So areas that used to be white #FFFFFF, get changed to some other color.

Well, I hope this information has been usefull.

[WWW]
CharlesF

Newbie

Joined: 16/04/2009 17:49:03
Messages: 57
Location: Everett, Washington. U.S.A.
Offline

Georg (Video-Intern) wrote:1) A little donate is on the way
Thank you very much!

Georg (Video-Intern) wrote:2) I make a little workflow for german users on my board. It is very easy to use, so I think I will wait for question from german users.
Great! Thank you.
Would you like to perform voiceover (auf Deutsch) for the video? (Just kidding)
[WWW]
Cranston

Senior Contributor

Joined: 16/08/2007 23:26:31
Messages: 1229
Location: Oregon, USA
Offline

Hi CharlesF,

Just wanted to join the chorus of praise. Excellent work!

Click here PDtoots for PowerDirector Tutorials
[WWW]
Georg (VI)

Senior Contributor

Joined: 18/03/2007 06:27:52
Messages: 1143
Location: Korschenbroich / Deutschland
Offline

Would you like to perform voiceover (auf Deutsch) for the video? (Just kidding)

If you like, I can try

This message was edited 1 time. Last update was at 05/05/2009 10:06:08


Viele Gruesse Georg
Video-Portal und privates Forum
[WWW]
Dafydd Bevan - SoftDeko

Senior Contributor

Joined: 26/08/2006 05:20:41
Messages: 7722
Offline

A very useful Mask Creation Tool.

Dafydd

CyberLink PowerDirector Video Editor = 2,2.5,3,4,5,5Premium,6,7,8,9,10
Additional software used for editing:
CyberLink MediaShow 5 = Preview display, edit, tag and select photographs and video.
CyberLink Power2Go = Disc writing software, sits well with PowerDirector.
CyberLink YouCam 5 Deluxe = ... inc Video Screen Capture, an excellent tool.
Image Editor = One that makes transparent background PNG files is a "must have".
Gif Animation = Creating and converting an animation can give one's video a little "edge".
Started with 8mm splice editing and B&W still image darkroom photography.
CyberLink PowerDirector 10 Tutorials = 18 tutorials (15 displayed and 3 to come)
 
Forum Index » PowerDirector (8 and earlier)
Go to:   
Powered by JForum 2.1.8 © JForum Team
© 2011 CyberLink Corp. All Rights Reserved. [ Terms of Services | About CyberLink | Contact Us | Privacy Policy | Site Map RSS