jotasic / blogpostimagemaker Goto Github PK
View Code? Open in Web Editor NEW간단한 블로그 포스트 이미지를 만들 수 있는 page
간단한 블로그 포스트 이미지를 만들 수 있는 page
단순한 이미지를 만드는 작업이기 때문에, Canvas보다는 SVG로 활용하는 것이 좋다고 하여 변경 하기로 함.
현재 캔버스 우클릭으로 하여 다운로드가 가능한 사항
버튼을 클릭해서 다운로드 할 수 있도록 해야됨.
쿠키를 이용해서 가장 마지막에 입력한 내용을 다음번 방문 시, 사용할 수 있도록 기능 추가
html 파일에 있는 자바스크립트 코드를 새로운 파일로 분리
해당 버튼 비 활성화 하고 message 띄우기
CSS 적용시( #16) SVG를 원하는 크기 만큼 늘릴 수 없기 때문
현재 이미지 크기나, 폰트사이즈 같은 설정 부분의 값들이 '-'도 입력 가능함.
입력단에서 유효하지 않은 값들이 입력되지 않도록 수정 작업 진행
컬러를 매번 타이핑 하는 것이 귀찮음
아래 서비스 이용해서 적용
https://hits.seeyoufarm.com/
fillTextLine() 내에서 fontSize를 알아 낼 수 있는데, 인자로 받을 이유가 없을 듯 하다.
인자로 받는 부분을 수정 한다.
function fillTextLine(context, text, x, y, fontSize) {
1안 - 인자로 받은 context를 이용하여, size를 구한다.
2안 - 전역으로 선언되어 있는 fontSize Element를 이용한다.
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.