Image resizing with django?

前端 未结 12 1547
温柔的废话
温柔的废话 2020-12-23 18:06

I\'m new to Django (and Python) and I have been trying to work out a few things myself, before jumping into using other people\'s apps. I\'m having trouble understanding whe

12条回答
  •  佛祖请我去吃肉
    2020-12-23 18:40

    I also swear by Justin Driscoll's django-photologue is also great for resizing. It:

    1. Resizes (that is can be scaled to a height or width proportionately)
    2. Crops (kind-of intelligently: from the center, top, left, bottom or right)
    3. Optionally upsizes
    4. Can add effects (such as "color", "brightness", "contrast" and "sharpness" as well as filters like "Find Edges" and "Emboss". Sharpen your images. Make your thumbnails black and white.)
    5. Can add simple watermark
    6. Cache the results

    Basically it's awesome.

提交回复
热议问题