GitXplorerGitXplorer
P

MagickCompress

public
10 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
e69aa6c912f9330782965ee7409e24511ddb0485

Fix wrong pvrtc4bppa size

PPerlmint committed 9 years ago
Unverified
b64ccbb055220e6f550e4fc71cfdc5a9f2c4c4cb

make alpha texture by RGBA(0,0,0,0) to RGBA(255,255,255,255)

PPerlmint committed 10 years ago
Unverified
40c7cb997b5d3788c292e76256af99adfb99ca71

Fix error - wrong data lookup position

PPerlmint committed 10 years ago
Unverified
9ca65db888e334f5fc4d6a2dde84ca5dcbfed176

Add osx module intermediate / result files to gitignore

PPerlmint committed 10 years ago
Unverified
dc08ae510c86ce1d6fc97f7ae7e8f4f138f15f95

Update Readme.md

PPerlmint committed 10 years ago
Unverified
4c7e737f5e1a5a17b6e99c58534ecb518cec93bc

add pkm, pvrtc(rgb/rgba 4bpp, 2bpp) implementation.

PPerlmint committed 10 years ago

README

The README file for this repository.

ImageMagickTextureCompressModules

Texture compress modules for ImageMagick

Supported compression format

  • etc1
  • pvrtc-4bpp-rgb
  • pvrtc-4bpp-rgba

ImageMagick format names

  • pkm
    • compress with etc1
    • save as pkm format
  • pkma
    • compress alpha as grayscale etc1
    • save as pkm format
  • pvrtc
    • read only alias
    • can identify pvrtc-4bpp-rgba / pvrtc-4bpp-rgb
  • pvrtc4bpprgba
    • compress RGBA with pvrtc 4bits-per-pixel
    • save as pvr format
  • pvrtc4bpprgb
    • compress RGB with pvrtc 4bits-per-pixel
    • save as pvr format
    • discard alpha channel

How to build

Windows module

  1. download ImageMagick-windows.zip and unzip into ext as ImageMagick
  2. run configure.exe in ext/ImageMagick/VisualMagick/configure
    • At this time, you can select 64-bit / 32-bit
  3. build visual studio solution ImageMagickTextureCompressModules.sln

OSX module

  1. prerequisite
    • glibtool
  2. copy magick headers into ext
  3. copy libMagickCore-6.Q16.2.dylib into ext
  4. build with Makefile

References