I would like to draw a Photoshop brush (.abr) in Flash using Actionscript 3.0
Is any documentation or references for the .abr Format available? Anybody tried this?
i found nothing regarding .abr files in flash but this: AS3 photoshop brushes
so you have to write your own routines like they did on aviary.com or pixlr.com and so on
you could try to read the .abr file
Related
I want to create a high resolution image from a svg file.But i don't know how.Can i create it using macaw or there is another way.
SVG - is a vector format, it used in Android, but not iOS, so You can look for svg pods, like https://cocoapods.org/pods/SwiftSVG so You can add it in code directly
If You need it once - ask google "svg online converter" and convert it to png/pdf/jpg. For example: https://svgtopng.com
Macaw is currently in beta and it has limitations. It can create high-resolution image but it is limited and also macaw can not render all SVG.
But macaw is so far the best svg renderer for ios till now and they have done some really magical things.
How do I use animated PNG in Delphi?
If you are still searching for a solution then you can take a look
here where I've found this library that can solve your trouble.
With this complete library you can open APNG file then get number of frames etc...
I was trying to convert a GIF image (Ajax waiting like):
to AVI that will be used with TAnimate control (win32 animation control).
I have tried a few tools, but the problem is that the output AVI is either not suitable for the Animation control or not transparent.
Notes:
I don't use windows XP Themes manifest (D5).
the Common Avi's are transparent even if my program is not themed.
Using the GIF itself to show animation is not an option.
Do you know any tool that can help me with this conversion?
EDIT:
I have tried using ImageMagic with ffmpeg as described here. but I can't seem to set ffmpeg to encode to msrle.
Jasc Animation Shop is able to directly read an animated GIF and write out a compressed AVI. This is an old program that appears to be no longer offered by Corel (who acquired Jasc), but you may still be able to find the free trial version for example.
You could try the TGIFImage component (written for Delphi 5), which claims not only to support Animated GIFs, but also Transparency, as well as a means of converting a GIF to an AVI (and vice-versa).
Whether it does all that or not I cannot say as I haven't personally tested it. Like TLama mentioned in the OP comments above, I use my own means of playing each frame in an animated fashion (only mine uses a RES file and a TImage, where each frame is stored as a PNG for full semi-transparency support).
Many commercial tools do this conversion, including Corel Photo Paint, and others. A free trial is available for Corel Photo Paint, which comes included in the Corel Draw package. (Warning: It's huge, and expensive.) I don't think the transparency will be solved any more by corel photo paint's conversion than by anybody else.
Typing some words into Google, also reveals that DSPack from ProgDigy might help you.
The last time I did this, I abandoned the attempt to convert GIF transparency into AVI-with-transparency, because no AVI-encoding tool that I could find would preserve transparency. Thus the solution of leaving it as a gif, and putting a new control into your app (as LaKraven suggests) may be superior in the end, to fighting it.
I would suggest using GDIPlus native image renderer which can easily handle animated GIFs as well as many other image types, including multi-frame TIFFs (no MNG so far). I was able to find an example component which animates TImage instance:
http://www.progdigy.com/forums/viewtopic.php?p=13156
Please note I am aware that you are looking for a solution to AVI transparency, this is just an alternative way of presenting user with a "progress", which seems to be more lightweight (no dependency on windows media playback facilities) and flexible (such animation controller can be used on any image).
I am looking for a more convenient way of drawing a path than by drawing it programmatically. Is there any way of drawing a path in Photoshop (or Illustrator) and getting that path to the iPhone to use in a CAKeyframeAnimation? e.g. by exporting the point data, or by importing the .ai file?
There's a GitHub project called "PocketSVG" that can create UIBezier objects from SVG files. It works perfectly with shapes created in Adobe Illustrator and exported to SVG Tiny 1.2.
I ended up using Opacity. Opacity is a nifty little program that will allow you to draw paths (or import images) and export source code for iOS (e.g. Quartz).
Is it possible to save a .fla file as an animated gif from an actionscripted animation? I know you can do it from a tweened animation quite easily, but haven't been able to figure out a way to do it from a scripted one.
I am not 100% sure I understand your question.
If you want to write an actionscript animation to a file from the Flash IDE, you can try quicktime(.mov) by choosing:
File > Export Movie and choosing QuickTime as the output format. This will allow you save the rendering of your actionscript to a file. A handy video by Lee Brimlow is available here.
I don't think it's possible to save a gif from the IDE for actionscript, but if GIF is a must you can try rendering with actionscript into an array of BitmapData objects that you would feed to a GIFEncoder.
Have a look at this fun and easy to use GIF Encoder by Thibault Imbert. I found it really easy to get started with.
Have fun!
In case you're still curious, check Converting SWF into GIF file