Skip to main content

A Python project for image effects

Project description

Akuma Image Effect 🖼️➡🎥

Professional framework for transforming images into videos with dynamic effects


Features ✨

  • 🎨 Dynamic Effects: Apply zoom, fade, and custom transformations to images.
  • 🌐 Multi-Source Support: Load images from local files or remote URLs.
  • 🛠️ Extensible System: Easily register custom effects.
  • 🎥 Video Generation: Create MP4 videos with configurable duration and FPS.
  • 🧩 Professional Configuration: Fine-tune quality, interpolation, and background colors.

Installation 📦

pip install akuma-image-effect

Quick Start 🚀

from akuma import AkumaEngine

# Initialize the engine
engine = AkumaEngine()

# Generate a video with zoom-in effect
engine.generate_video(
    image_src="input.jpg",
    effect="akuma_zoom_in",
    duration=3.0,
    output_path="output.mp4"
)

Available Effects 🎨

Effect Name Description Key Parameters
akuma_zoom_in Smooth centered zoom effect interpolation
akuma_zoom_out Progressive reduction with background background_color

Register Custom Effects 🛠️

from akuma import AkumaEngine, EffectConfig

@AkumaEngine.register_effect("custom_effect")
def custom_effect(image: np.ndarray, progress: float, config: EffectConfig) -> np.ndarray:
    """
    Custom effect logic
    
    Args:
        image: Input image (numpy array)
        progress: Animation progress (0.0 to 1.0)
        config: Effect configuration
        
    Returns:
        Transformed image
    """
    # Your transformation logic here
    return transformed_image

Advanced Configuration ⚙️

from akuma import EffectConfig

# Custom configuration
config = EffectConfig(
    output_quality=18,            # Video quality (0-51, lower is better)
    interpolation=cv2.INTER_CUBIC,  # Interpolation method
    background_color=(255, 255, 255)  # Background color (BGR format)
)

# Initialize engine with custom config
engine = AkumaEngine(config)

System Requirements 💻

  • Python: 3.8+
  • FFmpeg: Required for video processing
  • Dependencies:
    • OpenCV (opencv-python)
    • NumPy (numpy)
    • Requests (requests)

Contributing 🤝

  1. Fork the repository.
  2. Add new effects in the akuma/effects/ directory.
  3. Submit a pull request with a clear description of your changes.

License 📄

This project is licensed under the MIT License. See the LICENSE file for details.


Example Use Cases 🌟

  • Social Media Content: Create engaging intros/outros for videos.
  • Presentations: Add dynamic effects to slides.
  • E-Learning: Enhance educational materials with animated visuals.

Support 🆘

For issues or feature requests, please open an issue on the GitHub repository.


Akuma Image Effect: Where images come to life! 🎬✨

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

akumaimageeffect-0.1.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

akumaimageeffect-0.1.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file akumaimageeffect-0.1.1.tar.gz.

File metadata

  • Download URL: akumaimageeffect-0.1.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for akumaimageeffect-0.1.1.tar.gz
Algorithm Hash digest
SHA256 01858ab764f94a6cedd901ca4321612cf7cd7c008bf86ac3732409b472226f35
MD5 1bca1756f087d22468a488ac146698b6
BLAKE2b-256 2b6984ac56424020a2fb2f19808b4ccbb8bcbb569818bf29bd9d55ec621101fb

See more details on using hashes here.

File details

Details for the file akumaimageeffect-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for akumaimageeffect-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e1dda6d40cc33f36aad563d3ee2f03aa0b128b59d830d64128462fc3328245b4
MD5 34ad374adc4620f69487d1c8549ca25f
BLAKE2b-256 70b3d0b98197ff90178b2eb0ecf432e2735b4ae34ef191eb2545474467969119

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page