KO
|
EN
gitlite — search
Search
#python
#docker
#android
#python3
#deep-learning
#tensorflow
#nodejs
#machine-learning
#ai
#artificial-intelligence
#hacktoberfest
#javascript
gulp-free-tex-packer
★ 12
Open GitHub ↗
Gulp free texture packer module
Download README (.md)
Explore Similar Repositories
gulp-html
:
Gulp plugin for HTML validation, using the official Nu Html Checker (v.Nu)
gulp-terser
:
gulp plugin, compressed es6+ code.
gulp-execa
:
Gulp.js command execution for humans
gulp-remove-code
:
Remove sections of code from files based on conditions
gulp-yaml
:
A Gulp plugin to convert YAML to JSON
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
gulp-free-tex-packer
?
Download (.md)
# gulp-free-tex-packer [](https://www.npmjs.com/package/gulp-free-tex-packer) \ Free texture packer module for gulp \ Based on https://github.com/odrick/free-tex-packer # Install $ npm install gulp-free-tex-packer # Basic usage ```js let texturePacker = require('gulp-free-tex-packer'); gulp.task('pack', function() { return gulp.src('src/**/*.*') .pipe(texturePacker()) .pipe(gulp.dest('dest/')); }); ``` # Advanced usage Use packer options object ```js let texturePacker = require('gulp-free-tex-packer'); gulp.task('pack', function() { return gulp.src('src/**/*.*') .pipe(texturePacker({ textureName: "my-texture", width: 1024, height: 1024, fixedSize: false, padding: 2, allowRotation: true, detectIdentical: true, allowTrim: true, exporter: "Pixi", removeFileExtension: true, prependFolderName: true })) .pipe(gulp.dest('dest/')); }); ``` **Pack options description**: https://github.com/odrick/free-tex-packer-core#available-options **Custom exporters description**: https://github.com/odrick/free-tex-packer-core#custom-exporter # Used libs * **Free texture packer core** - https://github.com/odrick/free-tex-packer-core --- License: MIT