Vimage
V image manipulation library
Install / Use
/learn @jeffangelion/VimageREADME
vimage (work in progress)
Image manipulation library for V programming language
License
GNU Lesser General Public License v3.0 or later (see LICENSE)
Usage (hypothetical)
// Please note that module will not be added to VPM until version 1.0.0 is released
import jeffangelion.vimage
image, _ := vimage.read_from_file('path/to/image_file') or {
println('failed to read from file')
}
// You can also read image format from []u8{} (i.e. downloaded from website)
cats, _ := vimage.read_from_array(cool_image_from_network) or {
println('image is too cool for vimage')
}
Roadmap to 1.0.0
-
[X] farbfeld support
-
[ ] basic PNG support
-
[ ] basic GIM support
-
[X] get/set pixels by coordinates
-
[X] invert colors
-
[X] rotate/flip image
Roadmap to future releases
-
[ ] more image formats
-
[ ] complete support of included formats (i.e. PNG Adam7 interlace)
Need something working and more simple for your project? Check this out
|Image format |VPM command |Module repo |
|-------------|----------------------------|-----------------------------------|
|PNG |v install Henrixounez.vpng|https://github.com/Henrixounez/vpng|
|Other formats|¯\_(ツ)_/¯ |Feel free to add via PR/issues |
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
