Это видео недоступно.
Сожалеем об этом.

Add Text To Images With Pillow - Python Tkinter GUI Tutorial 203

Поделиться
HTML-код
  • Опубликовано: 14 авг 2024
  • In this video I'll show you how to add text to images programatically using the Pillow Library with Tkinter and Python.
    We've used PIL lots of times in the playlist...in this video we'll use it to add text to images.
    We'll create an entry box that we can type text into, and a button to press that will save the text on the image.
    #tkinter #codemy #JohnElder
    Timecodes
    0:00​​ - Introduction
    1:17 - Import PIL
    2:01 - Create GUI For App
    5:09 - Open Image
    5:33 - Define The Font To Use
    5:55 - Grab Our Text
    6:09 - Edit The Image
    6:26 - Add Text To Image
    7:30 - Save Image
    8:33 - Put New Image On Screen
    9:11 - Add Timer
    9:45 - Clear The Entry Box
    11:00 - Make Image Global
    11:13 - Test It Out
    11:52 - Change Text Color To Green
    12:06 - Conclusion

Комментарии • 45

  • @Codemycom
    @Codemycom  2 года назад

    ▶️ Watch Entire Tkinter Playlist ✅ Subscribe To My RUclips Channel:
    bit.ly/2UFLKgj bit.ly/2IGzvOR
    ▶️ See More At: ✅ Join My Facebook Group:
    Codemy.com bit.ly/2GFmOBz
    ▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt!
    Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN
    ▶️ Get The Code
    bit.ly/3mt11Sp

  • @icodeint2780
    @icodeint2780 2 года назад +2

    nice tutorial, new stuff learned and have fun with...

  • @ThankYouESM
    @ThankYouESM 2 года назад

    I'm making sure the LIKE is clicked on every Tkinter video... even if already learned the how-to before having to watch.

  • @venkatsaivikram9492
    @venkatsaivikram9492 2 года назад +1

    Your super simple tutorials on Tkinter, Kivy and many more with Python are really awesome. How about tutorials on Android studio , Pygame and etc.. ? I would like you to consider making tutorials on these stuff ! Awaiting for your new playlist for those!!

    • @Codemycom
      @Codemycom  2 года назад +2

      Definitely going to do pygame

  • @apiculturapousofrio2267
    @apiculturapousofrio2267 2 года назад +1

    Excelente aula , parabéns professor .

    • @Codemycom
      @Codemycom  2 года назад

      Thanks!

    • @monjecareca7787
      @monjecareca7787 2 года назад +1

      Sigo as aulas dele desde o início, um excelente professor

  • @nonsense7129
    @nonsense7129 Год назад

    Exactly what I needed to know. Thank you.

  • @terminator5.274
    @terminator5.274 2 года назад +1

    nice tutorial sir!

  • @johngiangrande2996
    @johngiangrande2996 2 года назад

    Thanks John!

  • @wilmerramirez8891
    @wilmerramirez8891 2 года назад

    Hi, thanks for the tutorial, I have a a question, I am trying my own POS (point of sale) and part of my program requires to add text on the bill and save de image like you do in your video, the issue is when I use the currency symbol used in Thailand (฿) or whatever Thai letter, it add on the image a different one and eventually it doesn’t show the Thai symbol on the image. Thanks again for the great tutorial!

  • @jenithaputri7118
    @jenithaputri7118 Год назад

    with that script, can you add more texts on the picture? Not just only one sentence and the place is different like the first one

  • @ThankYouESM
    @ThankYouESM 2 года назад

    Awesome! I plan to have the text to have a black/white outline with a 0.5 alpha from using...
    xy = [(-1,-1),(-1,0),(-1,1),(0,1),(0,-1),(1,-1),(1,0),(1,1)]
    ... to make the text become the outline. However, making it an alpha overly complicates it all.

  • @alexi2706
    @alexi2706 Год назад

    Hey! nice video you got. What if I don't want to save the image but view it only? I know that I can use show function, but I would love to set the new image as a label without saving it on computer

  • @michaelstoeier2833
    @michaelstoeier2833 2 года назад

    Great Tutorial, Would be great if you could get in to how to make your applications check for updates from VCS, Since it's desktop applications it would be great to be able to have the application auto check for new versions on startup and download them if found.

  • @haytunez6182
    @haytunez6182 2 года назад

    I keep getting a tkinter.TclError couldn't recognize data in image file....... assistance please

  • @AdityaGupta-ud7dj
    @AdityaGupta-ud7dj 2 года назад +1

    Good day sir
    I am an aspiring coder from India and I love your videos on tkinter. I am making a full GUI based project in python using tkinter and I am facing a problem that doesn't even show an error.
    Can you please help me. Pls tell me how to reach you so that you can help me solve the problem.

    • @Codemycom
      @Codemycom  2 года назад

      I couldn't begin to guess...

    • @AdityaGupta-ud7dj
      @AdityaGupta-ud7dj 2 года назад

      Basically the program is spanned over multiple tkinter windows and the problem arises when moving from one window to another keeping the root object intact

    • @AdityaGupta-ud7dj
      @AdityaGupta-ud7dj 2 года назад

      That was before now the problem is mainly scope based for the root object

    • @AdityaGupta-ud7dj
      @AdityaGupta-ud7dj 2 года назад

      It's difficult to show the problem without some visual aid

    • @Codemycom
      @Codemycom  2 года назад

      @@AdityaGupta-ud7dj yeah as I said, I can't guess. I don't review code..

  • @DANilo-ni4ll
    @DANilo-ni4ll 2 года назад

    Hi master, did you sell tkinter apps to a companies? How? And distribution?and new updates from these apps? Thanks.

  • @reancode4518
    @reancode4518 2 года назад

    There is not working with khmer language. ស្រក្ក រ្យ

  • @user-lm8yq9lb1x
    @user-lm8yq9lb1x 2 года назад

    Can do watermark.

  • @arkin.g1003
    @arkin.g1003 2 года назад

    Sir please make for image crop button in photo editing app

    • @Codemycom
      @Codemycom  2 года назад

      I think I have already

  • @fog-
    @fog- Год назад

    "AttributeError: type object 'Image' has no attribute 'open'" :(

    • @Codemycom
      @Codemycom  Год назад

      did you define your widget and pack it on the same line? You can't do that.

    • @fog-
      @fog- Год назад

      @@Codemycom idk but i fixed it somehow

  • @mohamadhadisaid6603
    @mohamadhadisaid6603 2 года назад

    you skipped the kivy video why🧐

  • @sithuhtun3609
    @sithuhtun3609 2 года назад +3

    First

  • @DerekStevens
    @DerekStevens 2 года назад

    Minecraft.