def dctDecode(stream, parameters):
    """
        Method to decode streams using a DCT technique based on the JPEG standard (NOT IMPLEMENTED YET)

        @param stream: A PDF stream
        @return: A tuple (status,statusContent), where statusContent is the decoded PDF stream in case status = 0 or an error in case status = -1
    """
    decodedStream = ''
    try:
        from PIL import Image
        import io
    except:
        return -1, 'Python Imaging Library (PIL) not installed'
    try:
        im = Image.open(io.StringIO(stream))
        decodedStream = im.tostring()
        return 0, decodedStream
    except:
        return -1, 'Error decompresing image data'
