Comments (3)
We can now do some pretty crazy things.
var image = new Image(inputStream)
.To<Bgr565, ushort>()
.To<Bgra4444, ushort>()
.To<Bgra5551, ushort>()
.To<Byte4, uint>()
.To<HalfSingle, ushort>()
.To<HalfVector2, uint>()
.To<HalfVector4, ulong>()
.To<Rg32, uint>()
.To<Rgba1010102, uint>()
.To<NormalizedByte2, ushort>()
.To<NormalizedByte4, uint>()
.To<NormalizedShort2, uint>()
.To<NormalizedShort4, ulong>()
.To<Short2, uint>()
.To<Short4, ulong>()
.Save(outputStream);
WHAAAAAAAAAAAAT???!!!!!
from imagesharp.
😄 It's actually in good shape what with the scaling and offset adjustments. It's red simply because HalfSingle
only preserves the red channel. I deliberately left out Alpha8
since it would preserve nothing in a jpeg.
from imagesharp.
i wanna see a pic before/after :) poor image has surely gone through hell
from imagesharp.
Related Issues (20)
- Black Background after resizing in the latest version. HOT 4
- AccessViolationException and hard crash with animated webp HOT 8
- Simple conversion of Tiff file to PNG or JPG generates a strange result, even, at certain times, it is in 3D perspective HOT 6
- Please backport CVE-2024-27929 to 2.1.x HOT 20
- no vulnerability free version for netstandard or netframework 4.7 HOT 1
- Cannot update to v2.1.7 due to vulnerability tag HOT 4
- Exception SixLabors.ImageSharp.ImageFormatException: 'reserved bytes should be zero' when using Image.LoadAsync HOT 7
- Exif rotation and save HOT 4
- Error SixLabors.ImageSharp.ImageFormatException: 'Unexpected chunk followed VP8X header' HOT 3
- File (detected as bmp) fails to open, consumes a lot of memory HOT 4
- regression on latest.. 3 vs 2 with GIF HOT 6
- APNG Decoder incorrectly handles frame offsets and dispose previous with blend over HOT 3
- Hard crash (Internal CLR error) with corrupt PNG image HOT 3
- File conversion from jpg to webp changes colors of the image HOT 1
- Malicious hand-crafted PNG can be used to trigger DOS attack HOT 14
- I have encountered a bug with heigh and width of image HOT 4
- Missing Separable Blending Modes? HOT 2
- AccessViolationException when loading corrupt GIF
- Loading image with DecoderOptions { MaxFrames = 1 } loads multiple frames for attached png file
- Rotation of AffineTransform seems to offset the image by 1 pixel HOT 29
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imagesharp.