You're right, thank you. I changed the code and now it works well.
↧
New Post: AccessViolationException when accessing pixel color (GetPixel())
↧
New Post: WriteableBitmapExtensions is ambiguous in the namespace System.Windows.Media.Imaging
Hi.. Just started playing with your extensions but I get the error above when I add a blending mode to the Blit function.
If I search for it in object browser I see two WriteableBitmapExtensions listed. Is this what is causing the problem do you think?
Any ideas?
If I search for it in object browser I see two WriteableBitmapExtensions listed. Is this what is causing the problem do you think?
Any ideas?
↧
↧
New Post: WriteableBitmapExtensions is ambiguous in the namespace System.Windows.Media.Imaging
Try a full qualified name with the namespace for blend mode.
↧
New Post: WriteableBitmapExtensions is ambiguous in the namespace System.Windows.Media.Imaging
Tried that :(
↧
New Post: Error while reading IRandomAccessStream to Byte array
I am getting the following error while reading IRandomAccessStream to Byte Array
The operation attempted to access data outside the valid range.
Can any one help me please?
The operation attempted to access data outside the valid range.
Can any one help me please?
↧
↧
New Post: WriteableBitmapExtensions is ambiguous in the namespace System.Windows.Media.Imaging
↧
New Post: WriteableBitmapExtensions is ambiguous in the namespace System.Windows.Media.Imaging
Can you please try one of the Blit samples you can download from the source code repo? They use BlendMode and it works.
https://writeablebitmapex.codeplex.com/SourceControl/BrowseLatest
https://writeablebitmapex.codeplex.com/SourceControl/BrowseLatest
↧
New Post: Error while reading IRandomAccessStream to Byte array
↧
New Post: Rendering ink strokes into canvas element of datatemplate in gridview
Hi Experts,
I am trying to render the strokes into the canvas element of a datatemplate in gridview.
Can any one help me please?
Thanks in advance.
I am trying to render the strokes into the canvas element of a datatemplate in gridview.
Can any one help me please?
Thanks in advance.
↧
↧
Created Issue: Blit with alpha channel does not work as expected [19679]
The issue reported here:
http://writeablebitmapex.codeplex.com/discussions/390628
was fixed on ChangeSet 93605 but now it is broken again.
http://writeablebitmapex.codeplex.com/discussions/390628
was fixed on ChangeSet 93605 but now it is broken again.
↧
New Post: save PNG (transparent picture)
Hi,
Can you please advise how I should use the code, such that when I save a png file on a windows 7 machine, I can open the png file in any image editor on the machine. Currently I can save silverlight writeablebitmap in a png file, and see the image in NT explorer but not in other applications.
Can you please advise how I should use the code, such that when I save a png file on a windows 7 machine, I can open the png file in any image editor on the machine. Currently I can save silverlight writeablebitmap in a png file, and see the image in NT explorer but not in other applications.
↧
Closed Issue: Do not use restricted XNA APIs (e.g. MediaLibrary) to allow use in background agent on Windows Phone [16894]
The "Marketplace test kit" in Visual Studio fails when referencing the library in the background agent or one of its referenced assemblies
[ERROR] : Unsupported API cannot be used by a background agent. Assembly WriteableBitmapExWinPhone.dll was trying to use Microsoft.Xna.Framework.Media.MediaLibrary::.ctor.
Split the features requiring access to the MediaLibrary in a separate DLL.
[ERROR] : Unsupported API cannot be used by a background agent. Assembly WriteableBitmapExWinPhone.dll was trying to use Microsoft.Xna.Framework.Media.MediaLibrary::.ctor.
Split the features requiring access to the MediaLibrary in a separate DLL.
↧
Closed Issue: FillRectangle throws IndexOutOfRangeExceptions [16810]
... when negative coordinates are passed. This is the bug introduced in the latest version, the stable version works well.
↧
↧
Closed Issue: Nuget Package with strong Name [16636]
Could you Sign your assembly on nuget.
Thanks
Thanks
↧
Closed Issue: DrawPolyline points not connected [16201]
As you can see in the attached file "polyline-points-not-connected.PNG" (as well as in the second example) the line between certain points inserted into the DrawPolyline aren't always connected. This makes it difficult for the user to recognize an actual data point.
The following array of data was inserted into a WriteableBitmap of 1375x400:
50,349,60,349,71,350,82,350,92,116,103,140,114,334,124,346,135,348,146,348,157,349,167,349,178,348,189,349,199,349,210,349,221,350,231,349,242,349,253,349,264,349,274,349,285,346,296,347,306,105,317,342,328,349,338,349,349,349,360,349,371,349,381,346,392,348,403,348,413,348,424,349,435,350,445,350,456,350,467,350,478,-341,488,334,499,346,510,349,520,348,531,348,542,349,553,346,563,343,574,344,585,346,595,348,606,346,617,326,627,348,638,348,649,349,660,350,670,348,681,349,692,346,702,344,713,348,724,346,734,343,745,347,756,335,767,346,777,348,788,349,799,349,809,349,820,349,831,349,841,350,852,350,863,348,874,350,884,349,895,350,906,349,916,349,927,349,938,349,949,349,959,349,970,348,981,349,991,343,1002,335,1013,340,1023,349,1034,349,1045,349,1056,350,1066,350,1077,349,1088,349,1098,341,1109,349,1120,349,1130,349,1141,350,1152,348,1163,332,1173,343,1184,350,1195,350,1205,349,1216,347,1227,350,1237,349,1248,348,1259,346,1270,191,1280,-510,1291,338,1302,350,1312,347,1323,350,1334,348,1345,348
Also, thanks a lot for the classy extension.
Edit:
Old ticket replaced (but attachment remaining); I was fairly sure I was using the latest version but apparently I wasn't and updating solved that but introduced a new issue.
The following array of data was inserted into a WriteableBitmap of 1375x400:
50,349,60,349,71,350,82,350,92,116,103,140,114,334,124,346,135,348,146,348,157,349,167,349,178,348,189,349,199,349,210,349,221,350,231,349,242,349,253,349,264,349,274,349,285,346,296,347,306,105,317,342,328,349,338,349,349,349,360,349,371,349,381,346,392,348,403,348,413,348,424,349,435,350,445,350,456,350,467,350,478,-341,488,334,499,346,510,349,520,348,531,348,542,349,553,346,563,343,574,344,585,346,595,348,606,346,617,326,627,348,638,348,649,349,660,350,670,348,681,349,692,346,702,344,713,348,724,346,734,343,745,347,756,335,767,346,777,348,788,349,799,349,809,349,820,349,831,349,841,350,852,350,863,348,874,350,884,349,895,350,906,349,916,349,927,349,938,349,949,349,959,349,970,348,981,349,991,343,1002,335,1013,340,1023,349,1034,349,1045,349,1056,350,1066,350,1077,349,1088,349,1098,341,1109,349,1120,349,1130,349,1141,350,1152,348,1163,332,1173,343,1184,350,1195,350,1205,349,1216,347,1227,350,1237,349,1248,348,1259,346,1270,191,1280,-510,1291,338,1302,350,1312,347,1323,350,1334,348,1345,348
Also, thanks a lot for the classy extension.
Edit:
Old ticket replaced (but attachment remaining); I was fairly sure I was using the latest version but apparently I wasn't and updating solved that but introduced a new issue.
↧
Closed Issue: FillRectangle draws a one-pixel line at the edge when it is out of bounds [16075]
bmp.FillRectangle(-10, 10, -5, 20, Colors.Red) produces a vertical line (0, 10)-(0, 20). Same applies to all other edges as well.
↧
Closed Issue: FillEllipseCentered hangs when radius is zero [16074]
In that case, I would simply expect nothing to be drawn :)
↧
↧
Closed Feature: Make available as NuGet Package [15697]
Nothing more to say... would be great if the package would be available as a public NuGet package for easier / quicker installation (yep, I'm this lazy! ;-) ).
↧
Closed Issue: FillRectangle off-by-1 [15515]
FillRectangle is drawing 1 extra pixel in the top right corner
WriteableBitmapFillExtensions.cs Line 85:
for (int x = startYPlusX1; x <= endOffset; x++)
Proposed fix:
for (int x = startYPlusX1; x < endOffset; x++)
WriteableBitmapFillExtensions.cs Line 85:
for (int x = startYPlusX1; x <= endOffset; x++)
Proposed fix:
for (int x = startYPlusX1; x < endOffset; x++)
↧
Closed Feature: Free Rotate Methods [15214]
In addition to the 90° fixed methods, support for any angle should be added.
Follow up to http://writeablebitmapex.codeplex.com/workitem/13362
Follow up to http://writeablebitmapex.codeplex.com/workitem/13362
↧