美文网首页
Python 批量 将TIf/Tiff图片转换成 JPG或者PN

Python 批量 将TIf/Tiff图片转换成 JPG或者PN

作者: 火卫控 | 来源:发表于2023-08-11 20:48 被阅读0次

    Python 批量 将TIf/Tiff图片转换成 JPG或者PNG等

    有些TIF图片拍照出来特别大,5000X4000左右,RGB48 , 一张照片没有压缩处理大概60M左右。
    可以使用Python pillow包将 TIF 格式转成 JPG压缩格式,大小缩小30倍以上

    运行结果如下: 60M左右的TIF图片 转换成 2M左右的JPG图片


    image.png

    原始TIf文件如下

    Python代码如下:

    from PIL import Image
    import os,sys
    import ntpath as path
    
    # folder_path = r"C:\\data--------------\\test1"
    # folder_path = r"D:\GZlab_W_AQY\实验记录\别的仪器电脑。。。。。\细胞房显微镜\AQY\2022.12"
    
    # os.chdir(sys.path[0])
    # print(path)
    # files = os.listdir(folder_path)
    
    # tif_file_path = folder_path
    
    # tif_fileList = os.listdir(tif_file_path)
    tif_file_path = input("请输入地址")
    imgs = []
    
    
    # folder = r"D:\aatest"
    folder = tif_file_path
    files = os.listdir(folder)
    print(files)
    
    def file_filter(f):
        if f[-4:] in ['.jpg', '.png', '.bmp']:
            return True
        else:
            return False
    
    files = list(filter(file_filter, files))
    print(files)
    
    
    
    for fname in os.listdir(tif_file_path):
        print(fname)
        path = os.path.join(tif_file_path, fname)
        imgs.append(path)
    
    for tif_file in imgs:
        print(tif_file)
        im = Image.open(tif_file)
        print(tif_file)
        print(im)
    
        # im.save(tif_file + '.jpg')
        # print(tif_file)
        try:
            im.save(tif_file + '.jpg')
        except:
    
            continue
    

    运行打印如下:

    (base) D:\Coding\python_gzlab_docu>D:/ruanjian/labsoft/anaconda3/python.exe d:/Coding/python_gzlab_docu/gzlab_python_do/image_operate/tif2jpg/tif2jpg_pil1.py
    请输入地址G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M
    ['20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_0.6uM.tif', '20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_0uM.tif', '20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_200uM.tif', '20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_20uM.tif', '20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_2uM.tif', '20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_600uM.tif', '20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_60uM.tif', '20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_6uM.tif', '20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_0.6uM.tif', '20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_0uM-Bright.tif', '20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_0uM.tif', '20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_200uM-Bright.tif', '20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_200uM.tif', '20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_20uM.tif', '20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_2uM.tif', '20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_600uM-Bright.tif', '20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_600uM.tif', '20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_60uM-Bright.tif', '20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_60uM.tif', '20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_6uM.tif', '20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_0.6uM.tif', '20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_0uM.tif', '20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_200uM.tif', '20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_20uM.tif', '20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_2uM.tif', '20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_600uM.tif', '20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_60uM.tif', '20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_6uM.tif', '20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_0.6uM.tif', '20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_0uM.tif', '20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_2.2uM.tif', '20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_200uM.tif', '20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_20uM.tif', '20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_600uM.tif', '20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_60uM.tif', '20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_6uM.tif']
    []
    20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_0.6uM.tif
    20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_0uM.tif
    20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_200uM.tif
    20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_20uM.tif
    20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_2uM.tif
    20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_600uM.tif
    20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_60uM.tif
    20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_6uM.tif
    20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_0.6uM.tif
    20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_0uM-Bright.tif
    20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_0uM.tif
    20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_200uM-Bright.tif
    20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_200uM.tif
    20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_20uM.tif
    20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_2uM.tif
    20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_600uM-Bright.tif
    20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_600uM.tif
    20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_60uM-Bright.tif
    20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_60uM.tif
    20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_6uM.tif
    20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_0.6uM.tif
    20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_0uM.tif
    20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_200uM.tif
    20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_20uM.tif
    20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_2uM.tif
    20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_600uM.tif
    20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_60uM.tif
    20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_6uM.tif
    20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_0.6uM.tif
    20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_0uM.tif
    20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_2.2uM.tif
    20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_200uM.tif
    20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_20uM.tif
    20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_600uM.tif
    20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_60uM.tif
    20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_6uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_0.6uM.tif        
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_0.6uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0BC6B520>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_0uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_0uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86FA00>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_200uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_200uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86F3A0>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_20uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_20uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86FC70>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_2uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_2uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86FF40>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_600uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_600uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86F6A0>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_60uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_60uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86FB20>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_6uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Favi_6uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86FD30>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_0.6uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_0.6uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86FC70>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_0uM-Bright.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_0uM-Bright.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86F6A0>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_0uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_0uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86F3D0>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_200uM-Bright.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_200uM-Bright.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86FFA0>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_200uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_200uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86F250>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_20uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_20uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86FBE0>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_2uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_2uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86FD30>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_600uM-Bright.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_600uM-Bright.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86F190>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_600uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_600uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86F400>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_60uM-Bright.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_60uM-Bright.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86F7F0>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_60uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_60uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86FD90>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_6uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_10uL-15hpi-Riba_6uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86FD30>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_0.6uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_0.6uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86F400>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_0uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_0uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86FCD0>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_200uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_200uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86FC10>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_20uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_20uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C921F30>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_2uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_2uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C922290>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_600uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_600uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86F190>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_60uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_60uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86D840>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_6uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Favi_6uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86F9A0>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_0.6uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_0.6uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86FCD0>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_0uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_0uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86F7C0>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_2.2uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_2.2uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86FAC0>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_200uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_200uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86F8B0>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_20uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_20uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86DDE0>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_600uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_600uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86FCD0>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_60uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_60uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86FAC0>
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_6uM.tif
    G:\显微镜-细胞房C6\8\8.10\Riba-A549-38M\20230810-A549D-W96-e38Mp2_1uL-15hpi-Riba_6uM.tif
    <PIL.TiffImagePlugin.TiffImageFile image mode=RGB size=5440x3648 at 0x1FA0C86FA30>
    

    相关文章

      网友评论

          本文标题:Python 批量 将TIf/Tiff图片转换成 JPG或者PN

          本文链接:https://www.haomeiwen.com/subject/aooapdtx.html