kode-team / image-resize Goto Github PK
View Code? Open in Web Editor NEWImage resizer for javascript
Home Page: https://kode-team.github.io/image-resize/
License: MIT License
Image resizer for javascript
Home Page: https://kode-team.github.io/image-resize/
License: MIT License
I am getting an error using this library:
"ImageResize.es.js:201
} else if (src instanceof File || src instanceof Blob) {
^
ReferenceError: File is not defined"
File is not available for node.js so that makes sense. Is this library supposed to be supported for node.js use?
https://rollupjs.org 으로 빌드해볼 예정
프로젝트파일이 크지 않기 때문에 간단하게 빌드할 수 있는 방법을 찾아야함
File
타입으로 된 객체를 읽어와서 사용할 수 있으면 좋을거 같다.
폼으로 가져오는게 좀 말도안되기도 하고..
아니면 blob
타입도 지원되어야 할지도..
예전과 다르게 요즘 브라우저 옵션이 안티알리어싱 처리가 잘 되는거 같다.
그래서 계단 현상 보다는 흐리게 보이는 현상이 더욱 두드러져 보인다.
괜찮은 형태의 샤픈 알고리즘을 찾아봐야겠다.
please how i can host it as website , i try but it give me error 405
exif 정보를 넣어주는 옵션을 만들어야함.
무조건 집어넣기도 그런것이 썸네일 이미지로 만들기 위하여 정보를 최소화 하는 경우도 생기기 때문에 선택권을 줘야한다고 봄
나중에 지원해봄직하다.
updateOptions() 메서드를 체인으로 작성할 수 있다고 보는데 이를 위해서 this
를 리턴해줘야할거 같다.
resizeImage.updateOptions({width: 300}).play('image.jpg');
타입스크립트에 대하여 좀더 적응이 된다면 포팅작업도 해보고 싶다.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.