Lukket

sliverllight writeablebitmap questions

I have sliverlight writeable bitmap question.

Please run attachd sample, then click test1 button, select attached Koala320x240.jpg.

In test1 button, I create WriteableBitmap named writeableResult, the width and height is 320x240.

Then I call following, I define WriteableBitmap named writeableSource width and height is 320x240, so it can clone to writeableResult and display it.

imageWidth = 320;

imageHeight = 240;

for (int i = 0; i < imageWidth; i++)

{

for (int j = 0; j < imageHeight; j++)

{

[url removed, login to view][j * imageWidth + i] = [url removed, login to view][j * imageWidth + i];

}

}

Please click test2 button, select attached Koala320x240.jpg. You will see the attached [url removed, login to view] result.

In test2 button, all code is same with test1 button ,only the writeableSource define width and height is 640x240

I expect the result like problem1result.jpg.

1. the coder need explain detail why the output is [url removed, login to view] not is problem1result.jpg.

I am first time use writeablebitmap, I do not fully understand why the output will become problem1.jpg.

I need the coder explain [url removed, login to view] I can fully understand how to use pixels[].

2. the coder need modify test2 button, let it output result like problem1result.jpg.

3. the coder need Add test3 button, let it output result like problem2.jpg. The coder need create method it allow input the width and height of

writeableResult , the width and height of writeableSource, and the x and y parameter (it allow draw the writeableSource at specific position)

Færdigheder: C# Programmering, WPF

Se mere: writeablebitmap, int i, sliverlight, create wpf, code wpf, bitmap output, call clone, draw bitmap, opencart modify add cart, programming please explain, test3, modify add sqlite, draw clone, add bitmap, wpf sample, bitmap display, magento modify add cart, modify add function joomla, bitmap width height, display bitmap, int call, form modify add html, test2

Om arbejdsgiveren:
( 190 bedømmelser ) Hong Kong, Hong Kong

Projekt-ID: #4087938

4 freelancere byder i gennemsnit $30 for dette job

Sup

The answer in PM

$30 USD in 0 dage
(2 bedømmelser)
3.9
codeteam17

I can do what you need, I've been doing WP7 and Win8 apps with WritableBitmap.

$30 USD på 1 dag
(4 bedømmelser)
3.4
vietnamboy2

Let expert do it. Please check the PMB.

$30 USD på 1 dag
(1 bedømmelse)
2.6
SinhaOjas

Please CHECK PRIVATE MESSAGE

$30 USD in 0 dage
(0 bedømmelser)
0.0
buddhieash

Hi, I'm interesting about your Job. I have worked on several WPF Software projects for clients and have got a feedback from them. I'm familiar with .net technologies. Therefore I think I'm the ideal developer for yo Mere

$30 USD in 2 dage
(0 bedømmelser)
0.0