{"categories":[{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/8"},{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/10"},{"label":"Visualization","url":"https://skillfed.io/packages/category/scientific-engineering-visualization"}],"enrichment":{"capability":"A Gradio component that displays two images side-by-side with an interactive slider for comparing them, supporting image upload, generation, or static display.","skillfed_tags":["gradio-component","image-processing","ui-widget"],"use_cases":["Compare before/after images in image processing or ML inference demos (e.g., denoising, super-resolution, style transfer).","Allow users to manually upload and compare two of their own images for visual analysis or quality assessment.","Display side-by-side model outputs in a Gradio app to help users evaluate inference results visually.","Build interactive documentation or tutorials showing the effect of image filters or transformations.","Create A/B testing interfaces where users can compare two generated or edited versions of an image."],"what_it_does":"ImageSlider is a custom Gradio component that embeds an interactive slider overlay for comparing two images. It accepts images as PIL objects, numpy arrays, file paths, or URLs, and lets users drag a slider to reveal one image or the other. The component works in three modes: as a unified input/output (user uploads one image, a function generates a comparison), as a manual dual-upload input (users compare their own images), or as a static output display (a function generates both images for comparison).\n\nThe slider position, dimensions, and styling are configurable, and the component integrates with Gradio's event system (upload, change events). It depends only on gradio and pillow, making it lightweight to add to existing Gradio applications. The package is in Alpha status and has not been updated since 2024-04-19, so it is suitable for stable, non-evolving use but may not track breaking changes in newer Gradio releases.","worth_installing":"Yes, if you are building a Gradio app that needs image comparison and can tolerate a dormant package. The component is lightweight, has no known vulnerabilities, and uses permissive licensing. However, verify compatibility with your Gradio version before deploying, since the package has not been updated since 2024-04-19 and may lag behind Gradio's evolution."},"id":"gradio-imageslider","links":{"html":"https://skillfed.io/packages/gradio-imageslider","md":"https://skillfed.io/packages/gradio-imageslider.md","pypi":"https://pypi.org/project/gradio-imageslider/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-04-19","license_spdx":null,"license_treatment":"permissive","name":"gradio-imageslider","python_support":"supports_current","summary":"A Gradio component for comparing two images.  This component can be used in several ways:  - as a **unified input / output** where users will upload a single image and an inference function will generate an image it can be compared to (see demo), - as a **manual upload input** allowing users to compare two of their own images (which can then be passed along elsewhere, e.g. to a model),  - as **static output component** allowing users to compare two images generated by an inference function."},"popularity":{"monthly_downloads":101093,"position":12964,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.0.20"}
