Skip to content

LBSTECH/image_classifier

Repository files navigation

Image_classification

Figma에서 Export한 이미지 각 배율에 맞게 자동으로 분류하는 패키지.

Packages that are automatically classified for each magnification of images export from Figma.

Use en

dart pub run [package name]:[program file name] -i [image directory]-o [ouput file directory]
dart pub run image_classifier:classfy -i ~Desktop/icon -o assets/images
dart pub run image_classifier:classfy -d assets/images -n root

--input, -i <image directory path>
--output, -o <output image directory path> Default : input directory
--separator, -s <magnification in front of separator> Default : @
-- delete, -d <delete directory path in file>
--name, -n <delete file name>

Use ko

dart pub run [패키지 명]:[실행 프로그램 파일명] -i [이미지 폴더위치]-o [복사 할 폴더 위치]

--input, -i <이미지가 위치해 있는 Directory>
--output, -o <복사한 이미지가 위치할 Directory> Default : input directory
--separator, -s <배율 앞에 붙는 구분자> Default : @
--delete, -d <삭제할 파일이 있는 경로>
--name, -n <삭제할 파일명>

사용자가 지정한 inputDirectory 안에 위치한 모든 파일을 조회하고 복사한 이미지를 넣어줄 때 지정한 outputDirectory에 inputDirectory와 동일한 Directory 구조로 생성하여 각 배율에 맞는 폴더에 넣어준다.

삭제 할 파일을 한번에 삭제 할 수 있도록 기능 추가

About

배율별 이미지 분류

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages