Matches in Nanopublications for { ?s <http://purl.org/dc/terms/description> ?o ?g. }
- step description "@is_fairstep(label='Blend two images') def blend_image(im1, im2): from PIL import Image im_blended= Image.blend(im1, im2, alpha=0.5) return im_blended " assertion.
- step description "@is_fairstep(label='Blend two images') def blend_image(im1, im2): from PIL import Image im_blended= Image.blend(im1, im2, alpha=0.5) return im_blended " assertion.
- step description "@is_fairstep(label='Blend two images') def blend_image(im1, im2): from PIL import Image im_blended= Image.blend(im1, im2, alpha=0.5) return im_blended " assertion.
- step description "@is_fairstep(label='Blend two images') def blend_image(im1, im2): from PIL import Image im_blended= Image.blend(im1, im2, alpha=0.5) return im_blended " assertion.
- step description "@is_fairstep(label='Blend two images') def blend_image(im1, im2): from PIL import Image im_blended= Image.blend(im1, im2, alpha=0.5) return im_blended " assertion.
- step description "@is_fairstep(label='Blend two images') def blend_image(im1, im2): from PIL import Image im_blended= Image.blend(im1, im2, alpha=0.5) return im_blended " assertion.
- step description "@is_fairstep(label='contrast image by factor') def contrast_image(image, ratio): from PIL import Image, ImageEnhance new_image= image.convert('RGB') new_image = ImageEnhance.Contrast(image) new_image= new_image.enhance(ratio) return new_image " assertion.
- step description "@is_fairstep(label='contrast image by factor') def contrast_image(image, ratio): from PIL import Image, ImageEnhance new_image= image.convert('RGB') new_image = ImageEnhance.Contrast(image) new_image= new_image.enhance(ratio) return new_image " assertion.
- step description "@is_fairstep(label='contrast image by factor') def contrast_image(image, ratio): from PIL import Image, ImageEnhance new_image= image.convert('RGB') new_image = ImageEnhance.Contrast(image) new_image= new_image.enhance(ratio) return new_image " assertion.
- step description "@is_fairstep(label='contrast image by factor') def contrast_image(image, ratio): from PIL import Image, ImageEnhance new_image= image.convert('RGB') new_image = ImageEnhance.Contrast(image) new_image= new_image.enhance(ratio) return new_image " assertion.
- step description "@is_fairstep(label='contrast image by factor') def contrast_image(image, ratio): from PIL import Image, ImageEnhance new_image= image.convert('RGB') new_image = ImageEnhance.Contrast(image) new_image= new_image.enhance(ratio) return new_image " assertion.
- step description "@is_fairstep(label='contrast image by factor') def contrast_image(image, ratio): from PIL import Image, ImageEnhance new_image= image.convert('RGB') new_image = ImageEnhance.Contrast(image) new_image= new_image.enhance(ratio) return new_image " assertion.
- step description "@is_fairstep(label='contrast image by factor') def contrast_image(image, ratio): from PIL import Image, ImageEnhance new_image= image.convert('RGB') new_image = ImageEnhance.Contrast(image) new_image= new_image.enhance(ratio) return new_image " assertion.
- step description "@is_fairstep(label='contrast image by factor') def contrast_image(image, ratio): from PIL import Image, ImageEnhance new_image= image.convert('RGB') new_image = ImageEnhance.Contrast(image) new_image= new_image.enhance(ratio) return new_image " assertion.
- step description "@is_fairstep(label='contrast image by factor') def contrast_image(image, ratio): from PIL import Image, ImageEnhance new_image= image.convert('RGB') new_image = ImageEnhance.Contrast(image) new_image= new_image.enhance(ratio) return new_image " assertion.
- step description "@is_fairstep(label='contrast image by factor') def contrast_image(image, ratio): from PIL import Image, ImageEnhance new_image= image.convert('RGB') new_image = ImageEnhance.Contrast(image) new_image= new_image.enhance(ratio) return new_image " assertion.
- step description "@is_fairstep(label='contrast image by factor') def contrast_image(image, ratio): from PIL import Image, ImageEnhance new_image= image.convert('RGB') new_image = ImageEnhance.Contrast(image) new_image= new_image.enhance(ratio) return new_image " assertion.
- step description "@is_fairstep(label='contrast image by factor') def contrast_image(image, ratio): from PIL import Image, ImageEnhance new_image= image.convert('RGB') new_image = ImageEnhance.Contrast(image) new_image= new_image.enhance(ratio) return new_image " assertion.
- step description "@is_fairstep(label='contrast image by factor') def contrast_image(image, ratio): from PIL import Image, ImageEnhance new_image= image.convert('RGB') new_image = ImageEnhance.Contrast(image) new_image= new_image.enhance(ratio) return new_image " assertion.
- step description "@is_fairstep(label='Make white background of image transparent') def white_to_transparency(img): from PIL import Image img = img.convert("RGBA") data = img.getdata() new_data = [] for item in data: if item[0] == 255 and item[1] == 255 and item[2] == 255: new_data.append((255, 255, 255, 0)) else: new_data.append(item) img.putdata(new_data) return img " assertion.
- step description "@is_fairstep(label='Make white background of image transparent') def white_to_transparency(img): from PIL import Image img = img.convert("RGBA") data = img.getdata() new_data = [] for item in data: if item[0] == 255 and item[1] == 255 and item[2] == 255: new_data.append((255, 255, 255, 0)) else: new_data.append(item) img.putdata(new_data) return img " assertion.
- step description "@is_fairstep(label='Make white background of image transparent') def white_to_transparency(img): from PIL import Image img = img.convert("RGBA") data = img.getdata() new_data = [] for item in data: if item[0] == 255 and item[1] == 255 and item[2] == 255: new_data.append((255, 255, 255, 0)) else: new_data.append(item) img.putdata(new_data) return img " assertion.
- step description "@is_fairstep(label='Make white background of image transparent') def white_to_transparency(img): from PIL import Image img = img.convert("RGBA") data = img.getdata() new_data = [] for item in data: if item[0] == 255 and item[1] == 255 and item[2] == 255: new_data.append((255, 255, 255, 0)) else: new_data.append(item) img.putdata(new_data) return img " assertion.
- step description "@is_fairstep(label='Make white background of image transparent') def white_to_transparency(img): from PIL import Image img = img.convert("RGBA") data = img.getdata() new_data = [] for item in data: if item[0] == 255 and item[1] == 255 and item[2] == 255: new_data.append((255, 255, 255, 0)) else: new_data.append(item) img.putdata(new_data) return img " assertion.
- step description "@is_fairstep(label='Make white background of image transparent') def white_to_transparency(img): from PIL import Image img = img.convert("RGBA") data = img.getdata() new_data = [] for item in data: if item[0] == 255 and item[1] == 255 and item[2] == 255: new_data.append((255, 255, 255, 0)) else: new_data.append(item) img.putdata(new_data) return img " assertion.
- step description "@is_fairstep(label='Make white background of image transparent') def white_to_transparency(img): from PIL import Image img = img.convert("RGBA") data = img.getdata() new_data = [] for item in data: if item[0] == 255 and item[1] == 255 and item[2] == 255: new_data.append((255, 255, 255, 0)) else: new_data.append(item) img.putdata(new_data) return img " assertion.
- step description "@is_fairstep(label='Make white background of image transparent') def white_to_transparency(img): from PIL import Image img = img.convert("RGBA") data = img.getdata() new_data = [] for item in data: if item[0] == 255 and item[1] == 255 and item[2] == 255: new_data.append((255, 255, 255, 0)) else: new_data.append(item) img.putdata(new_data) return img " assertion.
- step description "@is_fairstep(label='Overlay image with another (partly transparent) one') def overlay(bg_img, fg_img): from PIL import Image img = bg_img.copy() fg_img = fg_img.convert("RGBA") img.paste(fg_img, (0, 0), fg_img) return img " assertion.
- step description "@is_fairstep(label='Overlay image with another (partly transparent) one') def overlay(bg_img, fg_img): from PIL import Image img = bg_img.copy() fg_img = fg_img.convert("RGBA") img.paste(fg_img, (0, 0), fg_img) return img " assertion.
- step description "@is_fairstep(label='Overlay image with another (partly transparent) one') def overlay(bg_img, fg_img): from PIL import Image img = bg_img.copy() fg_img = fg_img.convert("RGBA") img.paste(fg_img, (0, 0), fg_img) return img " assertion.
- step description "@is_fairstep(label='Overlay image with another (partly transparent) one') def overlay(bg_img, fg_img): from PIL import Image img = bg_img.copy() fg_img = fg_img.convert("RGBA") img.paste(fg_img, (0, 0), fg_img) return img " assertion.
- step description "@is_fairstep(label='Overlay image with another (partly transparent) one') def overlay(bg_img, fg_img): from PIL import Image img = bg_img.copy() fg_img = fg_img.convert("RGBA") img.paste(fg_img, (0, 0), fg_img) return img " assertion.
- step description "@is_fairstep(label='Overlay image with another (partly transparent) one') def overlay(bg_img, fg_img): from PIL import Image img = bg_img.copy() fg_img = fg_img.convert("RGBA") img.paste(fg_img, (0, 0), fg_img) return img " assertion.
- step description "@is_fairstep(label='Overlay image with another (partly transparent) one') def overlay(bg_img, fg_img): from PIL import Image img = bg_img.copy() fg_img = fg_img.convert("RGBA") img.paste(fg_img, (0, 0), fg_img) return img " assertion.
- step description "@is_fairstep(label='Overlay image with another (partly transparent) one') def overlay(bg_img, fg_img): from PIL import Image img = bg_img.copy() fg_img = fg_img.convert("RGBA") img.paste(fg_img, (0, 0), fg_img) return img " assertion.
- step description "@is_fairstep(label='Inverting the colors of an image') def invert_colors(img): from PIL import Image, ImageOps return ImageOps.invert(img) " assertion.
- step description "@is_fairstep(label='Inverting the colors of an image') def invert_colors(img): from PIL import Image, ImageOps return ImageOps.invert(img) " assertion.
- step description "@is_fairstep(label='Inverting the colors of an image') def invert_colors(img): from PIL import Image, ImageOps return ImageOps.invert(img) " assertion.
- step description "@is_fairstep(label='Inverting the colors of an image') def invert_colors(img): from PIL import Image, ImageOps return ImageOps.invert(img) " assertion.
- step description "@is_fairstep(label='Inverting the colors of an image') def invert_colors(img): from PIL import Image, ImageOps return ImageOps.invert(img) " assertion.
- step description "@is_fairstep(label='Inverting the colors of an image') def invert_colors(img): from PIL import Image, ImageOps return ImageOps.invert(img) " assertion.
- step description "@is_fairstep(label='Inverting the colors of an image') def invert_colors(img): from PIL import Image, ImageOps return ImageOps.invert(img) " assertion.
- step description "@is_fairstep(label='Inverting the colors of an image') def invert_colors(img): from PIL import Image, ImageOps return ImageOps.invert(img) " assertion.
- step description "@is_fairstep(label='Inverting the colors of an image') def invert_colors(img): from PIL import Image, ImageOps return ImageOps.invert(img) " assertion.
- step description "@is_fairstep(label='Inverting the colors of an image') def invert_colors(img): from PIL import Image, ImageOps return ImageOps.invert(img) " assertion.
- step description "@is_fairstep(label='Inverting the colors of an image') def invert_colors(img): from PIL import Image, ImageOps return ImageOps.invert(img) " assertion.
- step description "@is_fairstep(label='Rotating an image represented by 90 degrees') def rotate_image(img): from PIL import Image return img.transpose(Image.ROTATE_90) " assertion.
- step description "@is_fairstep(label='Rotating an image represented by 90 degrees') def rotate_image(img): from PIL import Image return img.transpose(Image.ROTATE_90) " assertion.
- step description "@is_fairstep(label='An awesome step for creating composite image by blending images using a transparency mask') def mask_image(image1,image2): from PIL import Image mask = Image.new("L", image1.size, 128) new_image = Image.composite(image1, image2, mask) return new_image " assertion.
- step description "@is_fairstep(label='An awesome step for creating composite image by blending images using a transparency mask') def mask_image(image1,image2): from PIL import Image mask = Image.new("L", image1.size, 128) new_image = Image.composite(image1, image2, mask) return new_image " assertion.
- step description "@is_fairstep(label='An awesome step for creating composite image by blending images using a transparency mask') def mask_image(image1,image2): from PIL import Image mask = Image.new("L", image1.size, 128) new_image = Image.composite(image1, image2, mask) return new_image " assertion.
- step description "@is_fairstep(label='An awesome step for creating composite image by blending images using a transparency mask') def mask_image(image1,image2): from PIL import Image mask = Image.new("L", image1.size, 128) new_image = Image.composite(image1, image2, mask) return new_image " assertion.
- step description "@is_fairstep(label='An awesome step for creating composite image by blending images using a transparency mask') def mask_image(image1,image2): from PIL import Image mask = Image.new("L", image1.size, 128) new_image = Image.composite(image1, image2, mask) return new_image " assertion.
- step description "@is_fairstep(label='An awesome step for creating composite image by blending images using a transparency mask') def mask_image(image1,image2): from PIL import Image mask = Image.new("L", image1.size, 128) new_image = Image.composite(image1, image2, mask) return new_image " assertion.
- step description "@is_fairstep(label='An awesome step for creating composite image by blending images using a transparency mask') def mask_image(image1,image2): from PIL import Image mask = Image.new("L", image1.size, 128) new_image = Image.composite(image1, image2, mask) return new_image " assertion.
- step description "@is_fairstep(label='An awesome step for creating composite image by blending images using a transparency mask') def mask_image(image1,image2): from PIL import Image mask = Image.new("L", image1.size, 128) new_image = Image.composite(image1, image2, mask) return new_image " assertion.
- step description "@is_fairstep(label='My awesome step to add ') # Give it your own name: def my_awesome_step(image): from PIL import ImageDraw from PIL import Image new_image= ImageDraw.Draw( image # Image ).text( (0, 0), # Coordinates 'Hello world!', # Text (0, 0, 0) # Color ) # new_image = .... return new_image " assertion.
- step description "@is_fairstep(label='Step to add text (awesome world!) into an image') # Give it your own name: def add_text_into_image(image): from PIL import ImageDraw from PIL import Image ImageDraw.Draw( image).text( (0, image.height/2), # Coordinates 'Awesome world!', # Text (255, 255, 255) # Color ) return image " assertion.
- step description "@is_fairstep(label='Step to add text (awesome world!) into an image') # Give it your own name: def add_text_into_image(image): from PIL import ImageDraw from PIL import Image ImageDraw.Draw( image).text( (0, image.height/2), # Coordinates 'Awesome world!', # Text (255, 255, 255) # Color ) return image " assertion.
- step description "@is_fairstep(label='Step to add text (awesome world!) into an image') # Give it your own name: def add_text_into_image(image): from PIL import ImageDraw from PIL import Image ImageDraw.Draw( image).text( (0, image.height/2), # Coordinates 'Awesome world!', # Text (255, 255, 255) # Color ) return image " assertion.
- step description "@is_fairstep(label='Step to add text (awesome world!) into an image') # Give it your own name: def add_text_into_image(image): from PIL import ImageDraw from PIL import Image ImageDraw.Draw( image).text( (0, image.height/2), # Coordinates 'Awesome world!', # Text (255, 255, 255) # Color ) return image " assertion.
- step description "@is_fairstep(label='Step to add text (awesome world!) into an image') # Give it your own name: def add_text_into_image(image): from PIL import ImageDraw from PIL import Image ImageDraw.Draw( image).text( (0, image.height/2), # Coordinates 'Awesome world!', # Text (255, 255, 255) # Color ) return image " assertion.
- step description "@is_fairstep(label='Put here a name of your awesome step (include the word awesome so others will find it)') # Give it your own name: def my_awesome_step(image): from PIL import Image # new_image = .... return new_image " assertion.
- step description "@is_fairstep(label='Put here a name of your awesome step (include the word awesome so others will find it)') # Give it your own name: def my_awesome_step(image): from PIL import Image # new_image = .... return new_image " assertion.
- step description "@is_fairstep(label='Put here a name of your awesome step (include the word awesome so others will find it)') # Give it your own name: def my_awesome_step(image): from PIL import Image # new_image = .... return new_image " assertion.
- step description "@is_fairstep(label='Put here a name of your awesome step (include the word awesome so others will find it)') # Give it your own name: def my_awesome_step(image): from PIL import Image # new_image = .... return new_image " assertion.
- step description "@is_fairstep(label='Put here a name of your awesome step (include the word awesome so others will find it)') # Give it your own name: def my_awesome_step(image): from PIL import Image # new_image = .... return new_image " assertion.
- step description "@is_fairstep(label='Put here a name of your awesome step (include the word awesome so others will find it)') # Give it your own name: def my_awesome_step(image): from PIL import Image # new_image = .... return new_image " assertion.
- step description "@is_fairstep(label='Put here a name of your awesome step (include the word awesome so others will find it)') # Give it your own name: def my_awesome_step(image): from PIL import Image # new_image = .... return new_image " assertion.
- COVID-KG description "a Knowledge Graph of COVID-19 Literature" assertion.
- COVID-KG description "a Knowledge Graph of COVID-19 Literature" assertion.
- step description "@is_fairstep(label='heyhey') def hey_step(image): from PIL import Image return new_image " assertion.
- step description "@is_fairstep(label='awesome smoothening of an image') # Give it your own name: def my_awesome_step(image): from PIL import Image # new_image = .... smoothenedImage = image.filter(ImageFilter.SMOOTH) new_image = image.filter(ImageFilter.SMOOTH_MORE) return new_image " assertion.
- step description "@is_fairstep(label='awesome smoothening of an image') # Give it your own name: def my_awesome_step(image): from PIL import Image # new_image = .... smoothenedImage = image.filter(ImageFilter.SMOOTH) new_image = image.filter(ImageFilter.SMOOTH_MORE) return new_image " assertion.
- step description "@is_fairstep(label='awesome smoothening of an image') # Give it your own name: def my_awesome_step(image): from PIL import Image # new_image = .... smoothenedImage = image.filter(ImageFilter.SMOOTH) new_image = image.filter(ImageFilter.SMOOTH_MORE) return new_image " assertion.
- step description "@is_fairstep(label='awesome smoothening of an image') # Give it your own name: def my_awesome_step(image): from PIL import Image # new_image = .... smoothenedImage = image.filter(ImageFilter.SMOOTH) new_image = image.filter(ImageFilter.SMOOTH_MORE) return new_image " assertion.
- step description "@is_fairstep(label='awesome smoothening of an image') # Give it your own name: def my_awesome_step(image): from PIL import Image # new_image = .... smoothenedImage = image.filter(ImageFilter.SMOOTH) new_image = image.filter(ImageFilter.SMOOTH_MORE) return new_image " assertion.
- step description "@is_fairstep(label='awesome smoothening of an image') # Give it your own name: def my_awesome_step(image): from PIL import Image # new_image = .... smoothenedImage = image.filter(ImageFilter.SMOOTH) new_image = image.filter(ImageFilter.SMOOTH_MORE) return new_image " assertion.
- step description "@is_fairstep(label='awesome smoothening of an image') # Give it your own name: def my_awesome_step(image): from PIL import Image # new_image = .... smoothenedImage = image.filter(ImageFilter.SMOOTH) new_image = image.filter(ImageFilter.SMOOTH_MORE) return new_image " assertion.
- step description "@is_fairstep(label='Awesome step for rotating an image') # Give it your own name: def rotate_image(image): from PIL import Image new_image = Image.rotate(image) return new_image " assertion.
- step description "@is_fairstep(label='Awesome step for rotating an image') # Give it your own name: def rotate_image(image, angle_rotation: float): new_image = image.rotate(angle=angle_rotation) return new_image " assertion.
- step description "@is_fairstep(label='Awesome step for rotating an image by any angle') # Give it your own name: def rotate_image(image, angle_rotation): new_image = image.rotate(angle=angle_rotation) return new_image " assertion.
- step description "@is_fairstep(label='Awesome step for rotating an image by any angle') # Give it your own name: def rotate_image(image, angle_rotation): new_image = image.rotate(angle=angle_rotation) return new_image " assertion.
- step description "@is_fairstep(label='awesome step to pixelize an image, with adjustable rate') # Give it your own name: def my_awesome_adjustable_pixelization(img, rate): newx = int(rate * img.size[0]) newy = int(rate * img.size[1]) imgSmall = img.resize((newx,newy),resample=Image.BILINEAR) result = imgSmall.resize(img.size,Image.NEAREST) return result " assertion.
- step description "@is_fairstep(label='awesome step to pixelize an image, with adjustable rate') # Give it your own name: def my_awesome_adjustable_pixelization(img, rate): newx = int(rate * img.size[0]) newy = int(rate * img.size[1]) imgSmall = img.resize((newx,newy),resample=Image.BILINEAR) result = imgSmall.resize(img.size,Image.NEAREST) return result " assertion.
- step description "@is_fairstep(label='awesome step to pixelize an image, with adjustable rate') # Give it your own name: def my_awesome_adjustable_pixelization(img, rate): newx = int(rate * img.size[0]) newy = int(rate * img.size[1]) imgSmall = img.resize((newx,newy),resample=Image.BILINEAR) result = imgSmall.resize(img.size,Image.NEAREST) return result " assertion.
- step description "@is_fairstep(label='awesome step to pixelize an image, with adjustable rate') # Give it your own name: def my_awesome_adjustable_pixelization(img, rate): newx = int(rate * img.size[0]) newy = int(rate * img.size[1]) imgSmall = img.resize((newx,newy),resample=Image.BILINEAR) result = imgSmall.resize(img.size,Image.NEAREST) return result " assertion.
- step description "@is_fairstep(label='awesome step to pixelize an image, with adjustable rate') # Give it your own name: def my_awesome_adjustable_pixelization(img, rate): newx = int(rate * img.size[0]) newy = int(rate * img.size[1]) imgSmall = img.resize((newx,newy),resample=Image.BILINEAR) result = imgSmall.resize(img.size,Image.NEAREST) return result " assertion.
- step description "@is_fairstep(label='awesome step to pixelize an image, with adjustable rate') # Give it your own name: def my_awesome_adjustable_pixelization(img, rate): newx = int(rate * img.size[0]) newy = int(rate * img.size[1]) imgSmall = img.resize((newx,newy),resample=Image.BILINEAR) result = imgSmall.resize(img.size,Image.NEAREST) return result " assertion.
- step description "@is_fairstep(label='awesome step to pixelize an image, with adjustable rate') # Give it your own name: def my_awesome_adjustable_pixelization(img, rate): newx = int(rate * img.size[0]) newy = int(rate * img.size[1]) imgSmall = img.resize((newx,newy),resample=Image.BILINEAR) result = imgSmall.resize(img.size,Image.NEAREST) return result " assertion.
- step description "@is_fairstep(label='An awesome function to flip an image from left to right') def my_awesome_flipping(image): from PIL import Image # Flip the image from left to right image_flipped = image.transpose(method=Image.FLIP_LEFT_RIGHT) return image_flipped " assertion.
- step description "@is_fairstep(label='An awesome function to flip an image from left to right') def my_awesome_flipping(image): from PIL import Image # Flip the image from left to right image_flipped = image.transpose(method=Image.FLIP_LEFT_RIGHT) return image_flipped " assertion.
- step description "@is_fairstep(label='An awesome function to flip an image from left to right') def my_awesome_flipping(image): from PIL import Image # Flip the image from left to right image_flipped = image.transpose(method=Image.FLIP_LEFT_RIGHT) return image_flipped " assertion.
- step description "@is_fairstep(label='awesome image converter') # Give it your own name: def awesome_image_converter(image): from PIL import Image im2 = ImageEnhance.Contrast(image) new_image = Image.blend(image, im2, alpha=0.9) return new_image " assertion.
- step description "@is_fairstep(label='awesome image converter') # Give it your own name: def awesome_image_converter(image): from PIL import Image im2 = ImageEnhance.Contrast(image) new_image = Image.blend(image, im2, alpha=0.9) return new_image " assertion.
- step description "@is_fairstep(label='awesome image converter') # Give it your own name: def awesome_image_converter(image): from PIL import Image im2 = ImageEnhance.Contrast(image) new_image = Image.blend(image, im2, alpha=0.9) return new_image " assertion.
- step description "@is_fairstep(label='awesome image converter') # Give it your own name: def awesome_image_converter(image): from PIL import Image, ImageEnhance im2 = ImageEnhance.Contrast(image) new_image = Image.blend(image, im2, alpha=0.9) return new_image " assertion.
- step description "@is_fairstep(label='awesome image converter') # Give it your own name: def awesome_image_converter(image): from PIL import Image, ImageEnhance new_image= image.convert('RGB') new_image = ImageEnhance.Contrast(image) new_image= new_image.enhance(0.5) new_image = Image.blend(image, new_image, alpha=0.9) return new_image " assertion.
- step description "@is_fairstep(label='awesome image converter') # Give it your own name: def awesome_image_converter(image): from PIL import Image, ImageEnhance new_image= image.convert('RGB') new_image = ImageEnhance.Contrast(image) new_image= new_image.enhance(0.5) new_image = Image.blend(image, new_image, alpha=0.9) return new_image " assertion.
- step description "@is_fairstep(label='awesome image converter') # Give it your own name: def awesome_image_converter(image): from PIL import Image, ImageEnhance new_image= image.convert('RGB') new_image = ImageEnhance.Contrast(image) new_image= new_image.enhance(0.5) new_image = Image.blend(image, new_image, alpha=0.9) return new_image " assertion.