Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/k/i/KindleEar-HEAD/lib/makeoeb.py   KindleEar(Download)
def getOpts(output_type='kindle'):
    from calibre.customize.profiles import KindleOutput, KindlePaperWhiteOutput, KindleDXOutput, KindleFireOutput, OutputProfile
    from config import REDUCE_IMAGE_TO
    opts = OptionValues()
    setattr(opts, "pretty_print", False)
    setattr(opts, "image_png_to_jpg", COLOR_TO_GRAY) #changed
    setattr(opts, "fix_indents", False)
    setattr(opts, "reduce_image_to", REDUCE_IMAGE_TO or OutputDevice.screen_size)
 
    #epub