https://github.com/sims4toolkit/images
Models and algorithms for processing images.
https://github.com/sims4toolkit/images
nodejs npm s4tk-library sims4 sims4-tool typescript
Last synced: 21 days ago
JSON representation
Models and algorithms for processing images.
- Host: GitHub
- URL: https://github.com/sims4toolkit/images
- Owner: sims4toolkit
- License: mit
- Created: 2022-06-10T01:39:12.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-08T23:52:07.000Z (about 2 years ago)
- Last Synced: 2025-04-26T05:27:33.225Z (about 1 month ago)
- Topics: nodejs, npm, s4tk-library, sims4, sims4-tool, typescript
- Language: TypeScript
- Homepage: https://sims4toolkit.com/#/docs/images
- Size: 240 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Sims 4 Toolkit - Images (@s4tk/images)
## Overview
This project contains models and algorithms required for processing images that appear in various image resources.
Major credit goes towards the creators of [S4PI](https://github.com/s4ptacle/Sims4Tools), specifically those who contributed to the [DstResource](https://github.com/s4ptacle/Sims4Tools/blob/develop/s4pi%20Wrappers/ImageResource/DSTResource.cs). Without this implementation, I wouldn't have been able to figure out shuffling/unshuffling for the DST compression algorithm.
## ⚠️ Experimental ⚠️
While all S4TK software is in pre-release, this package is especially experimental. I cannot guarantee that conversions between image formats is going to go smoothly. For best results, use PNG for both importing and exporting DDS images. JPG/BMP do not support transparency, and GIF/TIFF may appear discolored when exported.
## Installation
Install the package as a dependency from npm with the following command:
```sh
npm i @s4tk/images
```## Disclaimers
Sims 4 Toolkit (S4TK) is a collection of creator-made modding tools for [The Sims 4](https://www.ea.com/games/the-sims). "The Sims" is a registered trademark of [Electronic Arts, Inc](https://www.ea.com/). (EA). Sims 4 Toolkit is not affiliated with or endorsed by EA.
All S4TK software is currently considered to be in its pre-release stage. Use at your own risk, knowing that breaking changes are likely to happen.
## Documentation
Visit [sims4toolkit.com/#/docs/images](https://sims4toolkit.com/#/docs/images) for the most up-to-date documentation.