New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ipfu

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ipfu

Handles image processing for HEIC conversion and compression

  • 1.0.10
  • npm
  • Socket score

Version published
Weekly downloads
35
increased by29.63%
Maintainers
0
Weekly downloads
 
Created
Source

IPFU

ipfu 모듈은 HEIC 형식의 이미지 파일을 포함한 웹 이미지 포맷(jpeg, jpg, png, gif, webp)을 JPEG로 변환하거나, 이미지를 압축하는 기능을 제공합니다. 이 모듈은 웹 애플리케이션에서 이미지 처리 요구사항을 쉽게 구현할 수 있도록 도와줍니다.

기능

  • HEIC to JPEG 변환: HEIC 형식의 파일을 JPEG 형식으로 변환합니다.
  • 이미지 압축: 지정된 최대 크기로 이미지를 압축합니다.

설치 방법

npm을 사용하여 설치:

bash

npm install ipfu

사용 예제

import { processImage } from "image-handler";
const fileInput = document.querySelector('input[type="file"]');
fileInput.addEventListener("change", async (event) => {
  const file = event.target.files[0];
  try {
    const processedFile = await processImage(file);
    console.log("처리된 파일:", processedFile);
  } catch (error) {
    console.error("파일 처리 중 오류 발생:", error);
  }
});

개발자 정보

  • 개발자: guui_george
  • 라이선스: ISC

의존성

  • heic2any
  • browser-image-compression

Keywords

FAQs

Package last updated on 28 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc