awesome-repositories.com
المدونة
MCP
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
evanw avatar

evanw/thumbhash

0
View on GitHub↗
4,159 نجوم·90 تفرعات·Swift·MIT·3 مشاهداتevanw.github.io/thumbhash↗

Thumbhash

Thumbhash هي مكتبة تشفير صور تحول الصور إلى سلاسل مدمجة لاستخدامها كعناصر نائبة خفيفة الوزن. توفر هذه الصيغة تمثيلاً ثنائياً لصورة يحافظ على اللون ونسبة العرض إلى الارتفاع، مما يسمح بتوليد وتصيير معاينات ضبابية أثناء تحميل الصفحة.

يعمل المشروع كبديل لـ Blurhash من خلال توفير طريقة لتشفير الصور في سلاسل صغيرة مع تجنب العبء الحسابي عالي التردد. يعمل أيضاً كمستخرج لوحة ألوان، مما يتيح اشتقاق متوسط لون RGB المهيمن من تمثيل مشفر لاستخدامه في الخلفيات ذات اللون الصلب.

تغطي المكتبة مجموعة من قدرات معالجة الصور، بما في ذلك استخراج اللون المهيمن، وتشفير الصور المدمج، وتصيير العناصر النائبة لدعم واجهات التحميل التكيفية. تستخدم هذه العمليات تحويلات جيب التمام المنفصلة والاستيفاء ثنائي الخطية لإعادة بناء تقريبات بصرية منخفضة الدقة من معاملات التردد المخزنة.

Features

  • Low-Quality Image Placeholder Previews - Encodes images into a compact format to generate smooth, low-quality preview placeholders for loading states.
  • Discrete Cosine Transforms - Utilizes discrete cosine transforms to compress image data into a small set of frequency coefficients.
  • Dominant Color Extraction - Calculates representative colors from image data for use in themed backgrounds or UI elements.
  • Frequency Coefficient Reconstruction - Reconstructs low-resolution images by decoding stored frequency coefficients back into RGB values.
  • Lightweight Placeholder Standards - Provides a lightweight encoding standard for placeholders that avoids the high-frequency overhead of traditional DCT transforms.
  • Image Encoding Libraries - Provides a toolkit for converting images into compact strings and decoding them back into visual placeholders.
  • Compact String Encodings - Converts visual data into tiny strings for efficient storage and transmission of image previews.
  • Average Color Derivation - Retrieves the dominant average color of an image by processing encoded representation coefficients.
  • Low-Quality Image Placeholders - Decodes compact encoded strings back into visual images to serve as optimized loading placeholders.
  • Symmetric Quantization - Applies symmetric quantization to reduce the precision of coefficients for a more compact binary format.
  • Alpha Channel Support - Supports images with non-opaque backgrounds by including transparency data within the compact encoding.
  • Aspect Ratio Preservation - Stores original image proportions within the encoded data to prevent stretching during placeholder rendering.
  • Interpolated Sampling - Uses bilinear interpolation to smooth transitions between decoded color blocks for a blurred effect.
  • Image Color Extractors - Derives the dominant RGB average color from encoded image representations for solid-color backgrounds.
  • Adaptive Resource Loading - Improves perceived load performance by serving immediate visual approximations before the full image arrives.

سجل النجوم

مخطط تاريخ النجوم لـ evanw/thumbhashمخطط تاريخ النجوم لـ evanw/thumbhash

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Thumbhash

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Thumbhash.
  • woltapp/blurhashالصورة الرمزية لـ woltapp

    woltapp/blurhash

    17,035عرض على GitHub↗

    A very compact representation of a placeholder for an image.

    C
    عرض على GitHub↗17,035
  • lokesh/color-thiefالصورة الرمزية لـ lokesh

    lokesh/color-thief

    13,596عرض على GitHub↗

    Color-thief is a color quantization library and image color palette extractor designed to identify the most prominent colors in visual media. It functions as a semantic color classifier and color space converter, providing tools to extract dominant colors and generate representative palettes from images, videos, and canvas elements. The project utilizes a WebAssembly color processor and background workers to perform high-performance pixel analysis. It implements a WCAG contrast analyzer to calculate color contrast ratios and determine accessible foreground text colors based on accessibility s

    TypeScript
    عرض على GitHub↗13,596
  • jariz/vibrant.jsالصورة الرمزية لـ jariz

    jariz/vibrant.js

    4,594عرض على GitHub↗

    vibrant.js is a JavaScript color extraction library used to identify dominant color palettes from images based on the Android Palette algorithm. It functions as an image palette generator and a color processing tool that converts extracted data between RGB, HSL, and Hexadecimal formats. The library analyzes image pixels to categorize colors into specific profiles, including vibrant, muted, dark, and light. It also includes an accessible text color calculator that determines high-contrast hex colors for text overlays based on a selected background color. The toolset covers automated palette g

    CoffeeScript
    عرض على GitHub↗4,594
  • benhowdle89/gradeالصورة الرمزية لـ benhowdle89

    benhowdle89/grade

    3,761عرض على GitHub↗

    Grade is a JavaScript library for image color analysis and dynamic theme generation. It extracts the most prominent colors from an image to automatically generate complementary CSS gradients and coordinated color palettes for web interfaces. The tool identifies dominant colors using pixel-data analysis and applies mathematical offsets to determine matching hues. It can inject these calculated values directly into the document as CSS custom properties or export the gradient data as a raw array for custom visual implementation.

    JavaScript
    عرض على GitHub↗3,761
عرض جميع البدائل الـ 30 لـ Thumbhash→

الأسئلة الشائعة

ما هي وظيفة evanw/thumbhash؟

Thumbhash هي مكتبة تشفير صور تحول الصور إلى سلاسل مدمجة لاستخدامها كعناصر نائبة خفيفة الوزن. توفر هذه الصيغة تمثيلاً ثنائياً لصورة يحافظ على اللون ونسبة العرض إلى الارتفاع، مما يسمح بتوليد وتصيير معاينات ضبابية أثناء تحميل الصفحة.

ما هي الميزات الرئيسية لـ evanw/thumbhash؟

الميزات الرئيسية لـ evanw/thumbhash هي: Low-Quality Image Placeholder Previews, Discrete Cosine Transforms, Dominant Color Extraction, Frequency Coefficient Reconstruction, Lightweight Placeholder Standards, Image Encoding Libraries, Compact String Encodings, Average Color Derivation.

ما هي البدائل مفتوحة المصدر لـ evanw/thumbhash؟

تشمل البدائل مفتوحة المصدر لـ evanw/thumbhash: woltapp/blurhash — A very compact representation of a placeholder for an image. lokesh/color-thief — Color-thief is a color quantization library and image color palette extractor designed to identify the most prominent… jariz/vibrant.js — vibrant.js is a JavaScript color extraction library used to identify dominant color palettes from images based on the… fengsp/color-thief-py — Color-thief-py is a Python library designed to analyze digital images for the purpose of extracting prominent color… benhowdle89/grade — Grade is a JavaScript library for image color analysis and dynamic theme generation. It extracts the most prominent… transitive-bullshit/nextjs-notion-starter-kit — This is an opinionated starter kit that turns a Notion workspace into a fast, SEO-friendly website using Next.js and…