Comments (3)
If you don't need alpha channel, you can use JPEG that allows to adjust quality/size keeping the original image dimensions.
I would not use Bitmap16, since the generated PNG is 32-bit anyway, that would help a bit with compression.
Also Korim is not designed for image file optimization. It allows to render and transform images, but doesnt optimize huffman or png filters.
There are programs to do just that like jpegoptim or pngcrush. You would typically generate the image here or if you have it already and call an external image optimizers directly. For thumbnailing you can call the imagemagick cli directly. Or use korim, output the image to a jpeg or png file with maximum quality and call the external cli program optimizer
from korim.
from korim.
Sure. You can also join Slack and ask there: https://slack.soywiz.com/
from korim.
Related Issues (20)
- Use fixed-point arithmetic on rasterizer
- Optimize rasterizer scanline lookup
- Glow, border and drop shadow effects HOT 1
- Rasterizer & point checking winding
- Rasterizer implement clipping HOT 1
- DOMException: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The source width is 0. HOT 1
- Try to reduce the amount of garbage generated on Android with Context2d
- Fix stroke rasterization on the Common rasterizer
- Implement ComposieOperation BlendMode
- Vector rendering issues with alpha on the edges
- Reading quantization tables of JPEG file on Android HOT 1
- Image flipping problem, exif rotation and flipping support HOT 1
- Bitmap.resized
- Please support Kotlin/Native version 1.4 HOT 1
- I am getting "kotlin.NotImplementedError" in ImageFormat.kt HOT 1
- Native support for resizing images while decoding HOT 6
- Best way to load image from iOS CMSampleBuffer or ByteArray? HOT 1
- BMP Decoding
- Implement QOI image format
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 korim.