Blue shift effect make the colors dull by shifting blue values by a factor. A nighttime kind of scene is generated using this. This takes only one parameter factor. A lot of photo editors use this effect to give a night exposure effect to the image.
Syntax :
wand.image.blue_shift(factor)
Parameters :
Parameter |
Input Type |
Description |
factor |
numbers.Real |
Amount to adjust values. |
Source Image :

Example 1:
from wand.image import Image
with Image(filename = "koala.jpeg" ) as img:
img.blue_shift(factor = 1.25 )
img.save(filename = "bs_koala.jpeg" )
|
Output:

Example 2: Increasing value of factor to 1.5 .
from wand.image import Image
with Image(filename = "koala.jpeg" ) as img:
img.blue_shift(factor = 1.5 )
img.save(filename = "bs_koala_2.jpeg" )
|
Output:

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape,
GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out -
check it out now!
Last Updated :
08 May, 2020
Like Article
Save Article