TexturePacker can directly export to Cocos2D. Just select Cocos2D as exporter!
There's a new feature in TexturePacker which helps you to protect your intellectual property and prevent theft. It's called Content Protection and simply encrypts your images.
Your Cocos2D-Application will still be able to decrypt the data, but somebody else is going to have a hard time getting it done.
Encrypting your assets and protecting them is a piece of cake - it comes at nearly no effort - and does not have any impact on your game. Read more about TexturePacker Content Protection.
You need something special or your favorite framework is not supported? Just create your own export format! The template-based exporter allows you to enhance TexturePacker to match nearly any output.
This layout algorithm is best for tilemaps and simple animations without the need of additional data file. Sprites are simply placed in a row until the row is full. Then the next row starts. You may sort the sprites by name, width, height or area. This algorithm is FREE and can be used for all projects.
MaxRects is the best known algorithm for packing textures. It is fast and has a high packing ratio. Enabling rotation and trimming gets the best results (depending on your target framework). This algorithm is available in TexturePackerPro/CLI.