Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
yes I have the original, how is resolution lost?I did this in matlab and I am not sure if photoshop would be permissible in this instance.
Could this mean there's something wrong with my code?
I was doing DCT compression btw.
For uploading images you can use Imgur. There you can upload from your computer and you can share it with many link variants (BB Code, link, short link,...). This is how I post images in this forum (BB code for forums).
Compression is not a recommended thing to do with an image that you are going to use in full size. Compression is useful only when you need the image in small size (for example you want to use that image as a profile photo and the size of the picture is larger than the maximum allowed). The quality of the image after compression is dependent on the photo editor, but generally the quality is lost...
Are you trying to save memory space by DCT compression??? I thought it was mainly for audio not picture as its Discreet Cosine Transformation.... I know it has been used but surely JPEG would be easier...
If you are encoding a picture BUT!! on decoding the image is as your photo, then yes! You have an issue in your code!!
If you don't want to lose any image information when you compress it then you need to use a lossless image compression method such as PNG.
Such methods don't provide as much compression as the lossy ones, such as JPEG (which uses DCT), but they retain all the image information.