[Hỏi] Làm như nào để thay đổi ảnh thành content

Discussion in 'Hỏi Đáp Kỹ Thuật' started by u23, Aug 4, 2019.

  1. u23

    u23 Sơ Nhập Giang Hồ

    Em có tải một ảnh trên google về, giờ em muốn thay đổi ntn đó để nó thành ảnh content mà vẫn giữ nguyên nội dung của bức ảnh. Nhờ các bác chỉ giúp
     
  2. Hoa Mãn Lâu

    Hoa Mãn Lâu Trưởng Môn

    Ảnh content là gì, có demo ko thím?
     
  3. Nai

    Nai MiddleMan Staff Member

    Ý bác là làm ra đóng code này rồi paste vào url là ra hình đúng không?
    Code:
    data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N//AABEIAHEAtQMBEQACEQEDEQH/xAAbAAADAQEBAQEAAAAAAAAAAAADBAUGAgEHAP/EADoQAAIBAwMCAwYDBQgDAAAAAAECAwAEEQUSITFBEyJRBhQyYXGBIzORQqGxwdEkNDVScnPh8BVDYv/EABoBAAMBAQEBAAAAAAAAAAAAAAIDBAEABQb/xAAwEQACAgEDAgUCBQUBAQAAAAABAgARAxIhMQRBEyIyUWFx8BSBkbHRI0KhwfHhBf/aAAwDAQACEQMRAD8An6fFFNHLapaTSDf8RTys3Q8gYAHpnqK+XysUIcsP17fSe9iXmwZ1qXjr4aG1kis4VUuoBwwGeOCMftZrMOjnVbG/v9oWV2bYihB3ptWkiNrBcKkKEsXXySHHCqfpzx3wOaPEri9TDf8AUe5gOgx5NP8AyO+6G6NrBMhmjkTfCsxAkT12N+1kfcYGRzSdaoGYbEc1x+Y7RjEN5TuPnn8pmdVDWmtSxQyC7WVRE8TkrgZ3bWGeeeRg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GQaEMNzK1pPDHbR21zkNCcM3yotakUYIud2tsLa3mnI3pJLuXHpWFe8IyvDfNJfpEYyE255pPWZdQqoIWhOtRZQQa85U3gxeK72ggH99WBRNAgJZWnnCqacpoVDXiWrW1YxgD0rmVm2Ex3EIul5yWFZh6VhZMXqg59NXYfl05qzw6mbSNLZTReePP0qV8JbmdAe9XcWSQRikfhO84tH49e/C2yMQaQ65K0zgRBzXqTLuzSUxEHeNBkm6mUSV6OPYQTPmEX86+gaRiabSvyvtXmZ/VK8fEW9oPyo6b0nJhZPTIv8A7z/t1b/bJhzDQ/3T7UDeuMT0z8n5y/6a4+mZ3j0f93NIPqjxxCaB+bN9KHqvSIKcy/pP56/7lRvyIS943e/Bf/ag/uE1eDLsH+BQ/wCkU/8AsmNCQ/4in+iouondp1qXQVMOYEl96cIQjFj/AHgUwQxxNfY9BVmKTvGz3qkQRFpvhNceJok+T4ftSYUjXnehPEwzP3fxfepO8GMW/wCTSjzGLE7r46avE4z/2Q==
     
  4. no-reply

    no-reply Bang Chúng

    1. như của a Nai là image to base64.

    2. image to text using ocr

    3. đúng ý luôn
    [​IMG]