Comments (4)
We will fix it soon. For now could you please modify swf2lwf.rb as below?
diff --git a/tools/swf2lwf/swf2lwf.rb b/tools/swf2lwf/swf2lwf.rb
index 1f0e8b3..de737e5 100644
--- a/tools/swf2lwf/swf2lwf.rb
+++ b/tools/swf2lwf/swf2lwf.rb
@@ -58,10 +58,6 @@ begin
rescue LoadError
require 'rexml/document'
end
-begin
- require 'rb-img'
-rescue LoadError
-end
LWF_HEADER_SIZE = 324
from lwf.
thanks! now this error...haha....trying to figure out ourselves too....
zoomcrypt-macbook-pro:swf2lwf zoomcrypt$ ruby swf2lwf.rb -p /Users/zoomcrypt/Desktop/LWFS_work/piece_blue.swf
/svn/lwf/tools/swf2lwf/lib/chunky_png/canvas/png_encoding.rb:370:in encode_png_pixels_to_scanline_method': No encoder found for color mode 3 and 8-bit depth! (ChunkyPNG::NotSupported) from /svn/lwf/tools/swf2lwf/lib/chunky_png/canvas/png_encoding.rb:210:in
encode_png_image_pass_to_stream'
from /svn/lwf/tools/swf2lwf/lib/chunky_png/canvas/png_encoding.rb:174:in encode_png_image_without_interlacing' from /svn/lwf/tools/swf2lwf/lib/chunky_png/canvas/png_encoding.rb:161:in
encode_png_pixelstream'
from /svn/lwf/tools/swf2lwf/lib/chunky_png/canvas/png_encoding.rb:85:in to_datastream' from /svn/lwf/tools/swf2lwf/lib/chunky_png/image.rb:62:in
to_datastream'
from /svn/lwf/tools/swf2lwf/lib/chunky_png/canvas/png_encoding.rb:35:in write' from /svn/lwf/tools/swf2lwf/lib/chunky_png/canvas/png_encoding.rb:43:in
block in save'
from /svn/lwf/tools/swf2lwf/lib/chunky_png/canvas/png_encoding.rb:43:in open' from /svn/lwf/tools/swf2lwf/lib/chunky_png/canvas/png_encoding.rb:43:in
save'
from swf2lwf.rb:201:in export_png' from swf2lwf.rb:1037:in
export_png'
from swf2lwf.rb:4203:in block in swf2lwf' from swf2lwf.rb:4203:in
map'
from swf2lwf.rb:4203:in swf2lwf' from swf2lwf.rb:4250:in
from lwf.
New swf2lwf and corresponding gems are pushed. Could you please try this new one. Please note you need to install two gems placed under tools/swf2lwf/gems/.
from lwf.
ok i can export the PNG now after installing the two gems and also installing libpng and jpeg from macports. thanks!
from lwf.
Related Issues (20)
- OnEnterFrame not working on low FPS flashes? HOT 2
- Non-movable buttons HOT 5
- Text Filters in Unity HOT 1
- Getting LWF.Bounds of a LWF.Movie immediately HOT 1
- Updating the flash with a delta time of 0 still calls OnEnterFrame
- Disabled buttons still blocking mouse events
- TextProperty in Unity
- Changing the ColorTransform of a LWF.Movie HOT 1
- Blending modes
- SetText() not always rendering new value HOT 2
- fscommand ignored unless frame entered "naturally" HOT 1
- I got a data file(.lwf) used this tool(swf2lwf.rb).But I cannot use in the unity.
- Warnings
- No longer rendering timeline HOT 3
- Text fields are not respecting the alpha of the MovieClip that contains it
- flash-in-unity.net
- can you support spritekit?
- Shapes Support
- Locate error cause easily when converting swf files
- Bad link HOT 3
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 lwf.