$npx skillfedfor your agent

gradio-imageslider

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.

With conditionsPyPI Scientific/EngineeringReleased Apr 2024101.1K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — gradio_imageslider-0.0.20-py3-none-any.whl
v0.0.20 · released 2024-04-19 · Python >=3.9 · 2 runtime deps: gradio, pillow

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >=3.9 and an active Gradio application context (gr.Blocks or gr.Interface).
  • Low install friction with a pure Python wheel.
  • The package is dormant (last commit 2024-05-20), but carries only two lightweight runtime dependencies: gradio and pillow.

License · maintenance · safety

permissive license (permissive) — Licensed under Apache Software License (permissive), allowing commercial and private use without restriction.

last release 2024-04-19 (847 days) · last repo commit 2024-05-20 · 43 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 101,093 downloads/mo, #12,964 on PyPI

Verify before relying

pip install gradio-imageslider

import gradio as gr
from gradio_imageslider import ImageSlider

def fn(im):
    if not im or not im[0]:
        return im
    return (im[0], im[0])

with gr.Blocks() as demo:
    img1 = ImageSlider(label="Compare images", type="pil", slider_color="pink")
    img1.upload(fn, inputs=img1, outputs=img1)

demo.launch()
  • Whether the component works reliably with current Gradio versions (last package release was 2024-04-19).
  • Performance characteristics when handling large or high-resolution images.
  • Accessibility features for keyboard navigation or screen readers on the slider control.
Same gist for agents: .md · .json

What it is and 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).

The 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.

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

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.

Install

gradio-imageslider on PyPI

Before you install

Low install friction with a pure Python wheel. The package is dormant (last commit 2024-05-20), but carries only two lightweight runtime dependencies: gradio and pillow. Suitable for stable, maintenance-light use cases.

Requires Python >=3.9 and an active Gradio application context (gr.Blocks or gr.Interface).

License in practice

Licensed under Apache Software License (permissive), allowing commercial and private use without restriction.

Quickstart

pip install gradio-imageslider

import gradio as gr
from gradio_imageslider import ImageSlider

def fn(im):
    if not im or not im[0]:
        return im
    return (im[0], im[0])

with gr.Blocks() as demo:
    img1 = ImageSlider(label="Compare images", type="pil", slider_color="pink")
    img1.upload(fn, inputs=img1, outputs=img1)

demo.launch()

Verify before relying

  • Whether the component works reliably with current Gradio versions (last package release was 2024-04-19).
  • Performance characteristics when handling large or high-resolution images.
  • Accessibility features for keyboard navigation or screen readers on the slider control.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
gradiopillow
MaintenanceDormant 847 days since the last release
Last repo commit
First released
Downloads101,093 / month, #12,964 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/EngineeringTopic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Scientific/Engineering :: Visualization

Evidence: gradio_imageslider-0.0.20-py3-none-any.whl

Tags

Capabilities
image comparison slidergradio image componentbefore after image viewerside-by-side image comparisongradio custom componentimage diff visualizationinteractive image slider
Topics
gradio-componentimage-processingui-widget
PyPI keywords
gradiogradio custom componentmachine learningreproducibilityvisualization

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “image comparison slider”

  • gradio-imagesliderA Gradio component that displays two images side-by-side with an…
  • ddddocrRecognizes text and detects objects in captcha images using offline…
  • streamlit-vertical-sliderAdds a vertical slider widget to Streamlit apps with customizable…

Give your agent the search over MCP, or paste the wish link into any chat.

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also gradio-pdf · gradio-rangeslider · gradio · hf-gradio · streamlit-vertical-slider · pixelmatch · streamlit-pdf-viewer · gradio-client · streamlit-image-coordinates · icdiff