![]() ![]() Img = Image.open(filename) # reads the JPG file This code will generate icon files for all (Mac, Win, Linux) from PIL import Imageįilename = r'logo.jpg' # the directory of logo file As you have mentioned you only need to convert the logo from jpg to icon files for the respective OS, then try image converter of Pillow.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |