7
A
답변
12
예. 아시다시피, SVG 파일은 벡터 이미지이므로보기 만하면 확대 할 수 있습니다. 기본 크기를 변경하려는 경우
그러나, 당신은
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.0"
width="1917.38"
height="1185.57996"
viewBox="0 0 958.69 592.78998"
id="svg2275"
sodipodi:version="0.32"
inkscape:version="0.46"
sodipodi:docname="Map of USA with state names.svg"
sodipodi:docbase="C:\temp\webdesign"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
와
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.0"
width="958.69"
height="592.78998"
id="svg2275"
sodipodi:version="0.32"
inkscape:version="0.46"
sodipodi:docname="Map of USA with state names.svg"
sodipodi:docbase="C:\temp\webdesign"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
, 당신은 viewBox
(0, 0, <oldWidth>, <oldHeight>
에)를 정의 대체 할 수있는, 그리고 당신은 설정할 수 있습니다 width
및 height
을 원하십니까? 위의 예는 너비와 높이를 두 배로 만듭니다.
+2
사이드 노트로 게시하기 전에 Inkscape에서 만든 SVG에서 불필요한 메타 데이터 (예 : 내 시스템의 경로)를 모두 제거합니다. –
관련 문제
- 1. Azure CloudDrive의 크기를 늘리려면 어떻게해야합니까?
- 2. 테이블 내부의 확인란의 크기를 늘리려면 어떻게해야합니까?
- 3. SQL Server : 트랜잭션 로그의 크기를 늘리려면 어떻게해야합니까?
- 4. SDL_Surface의 크기를 두배로 늘리려면
- 5. HashTable에서 값을 늘리려면 어떻게해야합니까?
- 6. Solaris에서 scons로 빌드 된 실행 파일의 스택 크기를 늘리려면 어떻게해야합니까?
- 7. 동적으로 svg의 텍스트 크기를 조정하는 방법은 무엇입니까?
- 8. 표현식에서 변수의 값을 늘리려면 어떻게해야합니까?
- 9. 날짜를 한 달 단위로 늘리려면 어떻게해야합니까?
- 10. 전역 변수의 양을 로컬에서 늘리려면 어떻게해야합니까?
- 11. 이 클래스로 레터 박스 크기를 계산하려면 어떻게해야합니까?
- 12. 클릭하여 드래그하여 SVG의 이미지 크기를 조절하는 방법은 무엇입니까?
- 13. SVG의 고정 획폭
- 14. vim에서 줄 번호 여백의 간격을 늘리려면 어떻게해야합니까?
- 15. HTML, CSS : 요소를 페이지 가장자리까지 늘리려면 어떻게해야합니까?
- 16. cronjob/crontab의 시간 초과를 늘리려면 어떻게해야합니까?
- 17. 자바 스크립트에서 변수의 범위를 늘리려면 어떻게해야합니까?
- 18. R에서 명령 내역의 길이를 늘리려면 어떻게해야합니까?
- 19. svg의 좌표를 얻는 방법?
- 20. svg의 스크립트에 대한 액세스
- 21. 은 GraphVIZ의 SVG의 자동 크기
- 22. SVG의 거북이 그래픽?
- 23. SVG의 메타 데이터
- 24. PhpMyAdmin/mysql 사용자 계정의 사용자 이름 길이를 늘리려면 어떻게해야합니까?
- 25. SqlException, 제한 시간이 만료되었습니다. 완료 전에 제한 시간이 경과 ...이 시간 초과 기간을 늘리려면 어떻게해야합니까?
- 26. OpenGL이 객체 그리기를 중단하는 거리 (zfar/gluPerspective)를 늘리려면 어떻게해야합니까?
- 27. JTextField의 크기를 조정하려면 어떻게해야합니까?
- 28. Javascript 드롭 다운 메뉴가 화면에 표시되는 시간을 늘리려면 어떻게해야합니까?
- 29. GraphViz에서 SVG의 "_anonymous_0"툴팁 제거
- 30. Kryonet에서 서버/클라이언트의 버퍼 크기를 늘리십시오.
이 질문의 문맥을 설명해 주시겠습니까? 대부분의 SVG 사용자 에이전트 (예 : Firefox, Chromium, Apache Batik Squiggle)는 SVG 이미지를 확대 할 수 있습니다 (Ctrl + + 키를 눌러보십시오). 그러나 이미지를 래스터 화 (JPG, PNG 등)하고 래스터 화 된 출력의 크기를 늘리려면 Batik SVG 래스터 라이저 (http : // xmlgraphics)와 같은 SVG 래스터 라이저를 조사해야합니다. .apache.org/batik/tools/rasterizer.html – jbeard4