ame=mark]')[0].files[0];
            }
            if ((algorithm === 'LSB' && marked_pic) ||
                (algorithm === 'DCT' && marked_pic && pic) ||
                (algorithm === 'DWT' && marked_pic && mark)) {
                var formData = new FormData();
                formData.append('algorithm', algorithm);
                formData.append('marked_pic', marked_pic);
                formData.append('pic', pic);
                formData.append('mark', mark);
                $.ajax({
             