{"id":28554637,"url":"https://github.com/zukahai/drawimage-cpp","last_synced_at":"2025-10-11T10:32:09.522Z","repository":{"id":108539766,"uuid":"393528211","full_name":"zukahai/DrawImage-CPP","owner":"zukahai","description":"Draw photos with ASCII code, convert photos to ASCII code","archived":false,"fork":false,"pushed_at":"2021-08-07T12:33:47.000Z","size":3348,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-10T11:18:23.492Z","etag":null,"topics":["ascii-images","cpp"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zukahai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-08-06T23:27:05.000Z","updated_at":"2024-05-24T13:04:32.000Z","dependencies_parsed_at":"2023-03-22T00:25:08.121Z","dependency_job_id":null,"html_url":"https://github.com/zukahai/DrawImage-CPP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zukahai/DrawImage-CPP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zukahai%2FDrawImage-CPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zukahai%2FDrawImage-CPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zukahai%2FDrawImage-CPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zukahai%2FDrawImage-CPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zukahai","download_url":"https://codeload.github.com/zukahai/DrawImage-CPP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zukahai%2FDrawImage-CPP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006846,"owners_count":26084206,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ascii-images","cpp"],"created_at":"2025-06-10T05:06:53.503Z","updated_at":"2025-10-11T10:32:09.517Z","avatar_url":"https://github.com/zukahai.png","language":"C++","readme":"## \u003cp align=\"center\"\u003e Draw Image \u003c/p\u003e\n\n\nLưu ý: Nên chạy code trên máy tính.\n\n### Bước 1: Tải code\n\u003cp align=\"center\"\u003e \u003cimg src=\"images/1.png\" alt=\"blog\" /\u003e \u003c/p\u003e\nTại giao diện này hãy bấm vào code -\u003e download zip.\nXong các bạn giải nén ra nhé. Sau khi giải nén các bạn sẽ có các tập tin sau:\n\n\u003cp align=\"center\"\u003e \u003cimg src=\"images/2.png\" alt=\"blog\" /\u003e \u003c/p\u003e\n\n## Bước 2: Tạo các câu hỏi\nĐể tăng phần thú vị cho chương trình thì khi chạy chương trình người dùng sẽ phải trả lời một số câu hỏi của bạn thì chương trình mới hoạt động.\nCác bạn chỉnh sửa file question.txt để sửa phần này.\nỞ trong file này các bạn sẽ lần lượt điền các câu hỏi và câu trả lời của câu hỏi đó (câu hỏi trên 1 dòng, câu trả lời trên một dòng).\nĐịnh dang file question.txt sẽ như sau:\n\n```\n  Câu hỏi 1\n  Đáp án 1\n  Câu hỏi 2\n  Đáp án 2\n  ...\n  Câu hỏi N\n  Đáp án N\n```\nVí dụ file question.txt\n\n\u003cp align=\"center\"\u003e \u003cimg src=\"images/3.png\" alt=\"blog\" /\u003e \u003c/p\u003e\n\n### Bước 3: Tạo file ký tự cho bước ảnh của bạn.\nBạn cần có một file ký tự tương tụ như thế này.\n\n\u003cp align=\"center\"\u003e \u003cimg src=\"images/4.png\" alt=\"blog\" /\u003e \u003c/p\u003e\nĐừng thấy khó mà bỏ qua nhé, sẽ có website giúp bạn làm việc này, các bạn truy cập và trang web:\n\nhttps://www.text-image.com/convert/ascii.html\n\n\u003cp align=\"center\"\u003e \u003cimg src=\"images/5.png\" alt=\"blog\" /\u003e \u003c/p\u003e\nCác bạn bấm vào chọn tệp để chọn hình ảnh mà bạn muốn chuyển đổi.\nPhần image width các bạn để cho mình là 200 nhé.\nBấm vào phần convert để chuyển đổi, các bạn sẽ được kết quả tương tự như thế này.\n\u003cp align=\"center\"\u003e \u003cimg src=\"images/6.png\" alt=\"blog\" /\u003e \u003c/p\u003e\nCác bạn copy hết lại và cho vào file input.txt nhé, nhớ lưu lại đó nha.\n\n### Bước 4: Chạy chương trình.\nCác bạn chơi file HaiZuka.exe để chạy chương trình nhé.\nBắt đầu chương trình người dùng phải trả lời chính các câu hỏi mà bạn đã đặt ra:\n\n\u003cp align=\"center\"\u003e \u003cimg src=\"images/7.png\" alt=\"blog\" /\u003e \u003c/p\u003e\n\n\u003cp align=\"center\"\u003e \u003cimg src=\"images/8.png\" alt=\"blog\" /\u003e \u003c/p\u003e\nTrong lúc chương trình đang loading, các bạn nhanh chóng thu nhỏ màn hình lại bằng cách đồng thời giữ phím ctrl và lăn chuội nhé, khi đã thu nhỏ được màn hình (cái này do các bạn tự biết nhỏ thế nào là hợp lý nhé) cuối cùng các bạn ấn full màn hình và tận hượng thành quả nhé.\n\n\u003cp align=\"center\"\u003e \u003cimg src=\"images/9.png\" alt=\"blog\" /\u003e \u003c/p\u003e\n\n## \u003cp align=\"center\"\u003e Chúc các bạn thành công \u003c/p\u003e\n\n### Xem Video hướng dẫn sử dụng.\n[\u003cp align=\"center\"\u003e \u003cimg src=\"images/10.png\" alt=\"blog\" /\u003e \u003c/p\u003e](https://www.youtube.com/watch?v=BYcQ64fNCPA)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzukahai%2Fdrawimage-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzukahai%2Fdrawimage-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzukahai%2Fdrawimage-cpp/lists"}