In: Computer Science
What is the difference between a bitmap image and a vector image? In terms of processing speed, which is going to be a better image format? When would the other format be better to use?
Why should you use the PNG format instead of GIF? What are HEIC and HEVC formats and what are the advantages and disadvantages of them?
What does it mean for a compressed image to have artifacts? How do you ensure your photos and images never look poor quality like they were recorded with a potato?
Difference between a bitmap image and a vector image:
This feature has a certain advantage over other types of graphics. That is why vector graphics are quite popular all over the world. They appear smooth at any resolution.The most commonly used vector formats are Adobe Illustrator File (.ai), Scalable Vector Graphics (.svg) and Encapsulated PostScript (.esp).In the world of graphic design, vector graphics are used almost anywhere. Due to their scalable feature, the logo can be put on a billboard and it would still have solid colors and consistency.
In terms of processing speed, which is going to be a better image format?
According to processing speed, JPEG was surprisingly fast, PNG was only competitive when I reduced the compression level (to the minimum level actually), and then had to deal with the larger data size. Your version of the problem is on the decoding side, but also you may have to investigate the tradeoff between CPU vs. bandwidth on your own platform.the compression level strongly affects the compression CPU usage, although it may have a lesser effect on decoding time. So it's not just a matter of format, but also the compression settings used for each format.jpeg usually is the fastest to load.If you can't afford lossy compression png seems to be the second fastest, depending on the compression level you choose.
When would the other format be better to use?Why should you use the PNG format instead of GIF?
You should use a JPEG when…
You should use a GIF when…
You should use a PNG when…
You should use a TIFF when…
You should use RAW when…
You should use a PDF when…
You should use an EPS when…
You should use SVG when…
What are HEIC and HEVC ?
HEIC
An HEIC file is one specific way to use HEIF, in which the HEIF container relies only on HEVC to encode images. Other operating systems, camera software, and image-editing apps may produce or support variations on HEIF, like AVCI, which uses the AVC (Advanced Video Coding) encoder to store data within HEIF.
With iCloud Photos enabled, you can see the .heic
extension on images synced from an iPhone to Photos for macOS. iOS
is careful about exporting, however, so your HEIC files may be
converted to a JPEG image (for still images) or a JPEG and an H.264
MOV file (for Live Photos) if iOS thinks the receiving device can’t
display HEIC.
HEVC
H.265, which is just another name for HEVC, provides substantial improvements in compression by being more clever and versatile in analyzing individual frames of video and then equally smart in storing differences between adjacent frames. HEVC can compress still images or sequences of video.
What does it mean for a compressed image to have artifacts? How do you ensure your photos and images never look poor quality like they were recorded with a potato?
A compression artifact is the fuzz or distortion in a compressed
image or sequence of video images. When a photo is compressed into
a JPEG format, some data is lost, which is why this type of
compression is called lossy compression. The data that is lost is
considered to be not necessary for the viewer to perceive or
perhaps not perceivable in any case. In creating a JPEG, if you
wish to have a smaller file size regardless of quality, then the
result may introduce perceivable compression artifacts. However, if
you wish to maintain the quality of the photo and have a larger
file size, then the viewer may not notice any artifacts. Artifacts
are more evident on a computer image than in a printed
photograph.Examples include stone tools, pottery
vessels, metal objects such as weapons and items of personal
adornment such as buttons, jewelry and clothing. Bones that show
signs of human modification are also examples.Low
quality photos and videos are often referred to these days as being
“potato quality,” or so bad that they look like they were taken
using a potato. But for photographer Colin Lowe, “potato quality”
is a spot-on description for some of his photos because they
were literally taken with a potato.