Beschreibung:
Eine (noch) kleine Grafikbibliothek, die ständig um Funktioinen erweitert wird. Ursprünglich sollte es eigentlich nur eine Blur-Bibliothek werden, da dachte ich mir, dass diese allerdings zu wenig Funktionen enthält um es Wert zu sein, veröffentlicht zu werden.
Funktionen:
Spoiler anzeigen
Screenshot:
Spoiler anzeigen
Blur Test:
![](/img-proxy-lite.php?url=http://pkmn-dawn.pytalhost.de/uploads/graphx.png)
![](/img-proxy-lite.php?url=http://pkmn-dawn.pytalhost.de/uploads/graphx_2.png)
MandelBrot Fractal Test:
![](/img-proxy-lite.php?url=http://pkmn-dawn.pytalhost.de/uploads/graphx_7.png)
Grayscale:
![](/img-proxy-lite.php?url=http://pkmn-dawn.pytalhost.de/uploads/graphx_3.png)
Invert:
![](/img-proxy-lite.php?url=http://pkmn-dawn.pytalhost.de/uploads/graphx_4.png)
Rotate 180°:
![](/img-proxy-lite.php?url=http://pkmn-dawn.pytalhost.de/uploads/graphx_5.png)
Mandelbrot Fraktal:
![](/img-proxy-lite.php?url=http://pkmn-dawn.pytalhost.de/uploads/graphx_6.png)
Verwendete Programmiersprache:
VB.NET
IDE: Visual Basic 2008
Systemanforderungen:
.NET Framework 2.0
Download:
graphx-1.0.0.0.zip (7KB)
Lizenz/Weitergabe:
Freeware, Decompilen ist nicht erlaubt, ebensowenig wie Mergen (eincompilieren)
Feedback bzw. neue Funktionsvorschläge erwünscht![;)](https://www.vb-paradise.de/wcf/images/smilies/wink.png)
MfG
Eine (noch) kleine Grafikbibliothek, die ständig um Funktioinen erweitert wird. Ursprünglich sollte es eigentlich nur eine Blur-Bibliothek werden, da dachte ich mir, dass diese allerdings zu wenig Funktionen enthält um es Wert zu sein, veröffentlicht zu werden.
Funktionen:
VB.NET-Quellcode
- Public Class GraphX
- Public Function GrayScale(ByVal img As Image) As Image
- Public Function SetImageAlpha(ByVal img As Image, ByVal Alpha As Integer)
- Public Function Invert(ByVal img As Image) As Image
- Public Function RotateImage(ByVal img As Image, ByVal angle As Single) As Image
- Public Function ChangePixelFormat(ByVal img As Image, ByVal pixel_format As PixelFormat) As Image
- End Class
- Public Class BackBuffer
- 'Properties
- Public ReadOnly Property Graphics() As Graphics
- Public ReadOnly Property Width() As Integer
- Public ReadOnly Property Height() As Integer
- 'Subs
- Public Sub ChangePixelFormat(ByVal pixel_format As PixelFormat)
- Public Sub ExportImage(ByVal Path As String, ByVal Format As ImageFormat)
- Public Sub SetTexture(ByVal img As Image)
- 'Functions
- Public Shared Function FromImage(ByVal img As Image) As BackBuffer
- Public Function GetTexture() As Image
- Sub New(ByVal Width As Integer, ByVal Height As Integer, Optional ByVal PixelFormat As PixelFormat)
- End Class
- Public Class Blurer
- 'Events
- Public Event BlurProgressStarted(ByVal maximum_value As Integer)
- Public Event BlurProgressChanged(ByVal value As Integer)
- Public Event BlurProgressPreview(ByVal bmp As Bitmap)
- Public Event BlurProgressEnded(ByVal result_bmp As Bitmap)
- 'Properties
- Public Property Image() As Bitmap
- Public Property BlurIntensity() As Integer
- Public Property BlurerMode() As BlurMode
- 'Functions
- Public Function Blur() As Bitmap
- Sub New(ByVal Image As Bitmap, ByVal BlurIntensity As Integer, ByVal BMode As BlurMode)
- Public Enum BlurMode
- Vertical
- Horizontal
- Diagonal
- BackwardDiagonal
- Gaussian
- DoubleDiagonal
- End Enum
- End Class
- Public Class MandelBrotFractal
- 'Properties
- Public Property Bounds() As Size
- Public Property Alpha() As Integer
- Public Property AntiAliasing() As Integer
- 'Subs
- Public Sub EnableAntiAliasing()
- Public Sub DisableAntiAliasing()
- Public Sub SetColor(ByVal VectorType As VectorType, ByVal c As Color)
- Public Enum VectorType
- Outline
- Outline2
- Outline3
- Outline4
- Outline5
- Outline6
- Outline7
- Outline8
- MandelBrotOutline5
- MandelBrotOutline4
- MandelBrotOutline3
- MandelBrotOutline2
- MandelBrotOutline1
- ShadowInline
- ShadowOutline
- MandelBrot
- End Enum
- 'Functions
- Public Function Render() As Image
- End Class
Screenshot:
Blur Test:
![](/img-proxy-lite.php?url=http://pkmn-dawn.pytalhost.de/uploads/graphx.png)
![](/img-proxy-lite.php?url=http://pkmn-dawn.pytalhost.de/uploads/graphx_2.png)
MandelBrot Fractal Test:
![](/img-proxy-lite.php?url=http://pkmn-dawn.pytalhost.de/uploads/graphx_7.png)
Grayscale:
![](/img-proxy-lite.php?url=http://pkmn-dawn.pytalhost.de/uploads/graphx_3.png)
Invert:
![](/img-proxy-lite.php?url=http://pkmn-dawn.pytalhost.de/uploads/graphx_4.png)
Rotate 180°:
![](/img-proxy-lite.php?url=http://pkmn-dawn.pytalhost.de/uploads/graphx_5.png)
Mandelbrot Fraktal:
![](/img-proxy-lite.php?url=http://pkmn-dawn.pytalhost.de/uploads/graphx_6.png)
Verwendete Programmiersprache:
VB.NET
IDE: Visual Basic 2008
Systemanforderungen:
.NET Framework 2.0
Download:
graphx-1.0.0.0.zip (7KB)
Lizenz/Weitergabe:
Freeware, Decompilen ist nicht erlaubt, ebensowenig wie Mergen (eincompilieren)
Feedback bzw. neue Funktionsvorschläge erwünscht
![;)](https://www.vb-paradise.de/wcf/images/smilies/wink.png)
MfG
Dieser Beitrag wurde bereits 5 mal editiert, zuletzt von „Krissel095“ ()