Kompresija slika online
Smanjite slike formata PNG, JPG, WEBP i AVIF bez vidljivog gubitka kvalitete. Besplatno, privatno i brzo: sve se izvodi u vašem pregledniku, ništa se ne prenosi na poslužitelj i ništa ne trebate instalirati.
Smanjite slike formata PNG, JPG, WEBP i AVIF bez vidljivog gubitka kvalitete. Ispustite datoteke u okvir iznad, po želji prilagodite postavke i preuzmite rezultat. FansBond alat „Kompresija slika” radi u potpunosti u vašem pregledniku, pa vaše datoteke nikad ne napuštaju uređaj. Besplatan je, ne traži račun i ništa ne trebate instalirati.
- Privatnost na prvom mjestu: datoteke se obrađuju na vašem uređaju i nikad se ne prenose na poslužitelj.
- Ništa ne trebate instalirati: radi u Chromeu, Safariju, Firefoxu i Edgeu na računalu, Androidu i iPhoneu.
- Besplatno, bez registracije, bez vodenog žiga i bez dnevnih ograničenja.
- Prihvaća: PNG, JPG, WEBP i AVIF.
- Sprema kao: PNG, JPG, WEBP i AVIF.
What Kompresija slika does
Image compression makes a file smaller so it uploads faster, loads quicker on a web page and fits the size limits of forms, email and chat apps. The picture is decoded to pixels and saved again with stronger compression.
JPG files are encoded with MozJPEG, which produces smaller files than standard JPG encoders at the same quality. PNG files are reduced to a palette of at most 256 colors, and the PNG Compressor can also optimize them without changing any pixel. If the result is not smaller and the format stays the same, you get the original file back.
Kako koristiti alat: Kompresija slika
- Ispustite datoteke koje želite smanjiti.
- Odaberite razinu kompresije ili zadržite preporučenu postavku.
- Kliknite Komprimiraj i usporedite staru i novu veličinu datoteka.
- Preuzmite manje datoteke.
When to use Kompresija slika
- Shrink phone photos of several megabytes before attaching them to an email or uploading them to a form with a size limit.
- Reduce product images and blog photos so web pages load faster and score better in page speed tests.
- Make PNG screenshots smaller for documentation, support tickets and chat messages while keeping the text easy to read.
- Prepare a batch of images for a website by limiting all of them to a maximum width, such as 1920 pixels.
Settings explained
- Output format
- Shown in the Image Compressor. Same as input keeps the format. Choosing WEBP or AVIF instead usually gives a much smaller file than JPG or PNG at similar visual quality.
- Quality
- Sets the compression strength for JPG, WEBP and AVIF, from 10 to 100. The default of 75 is a good balance; 60 to 70 gives smaller files for web use, and 85 or more suits printing.
- Compression mode
- Shown in the PNG Compressor. Smaller (lossy) reduces the image to a limited color palette and gives the biggest savings. Lossless keeps every pixel exactly and only optimizes how the data is stored.
- Colors
- Shown in Smaller (lossy) mode. Sets the palette size from 8 to 256 colors; the default is 256. Screenshots and graphics often look the same at 64 to 128 colors, while photos need 256.
- Max width (0 = keep)
- Scales down images that are wider than this number of pixels, keeping the aspect ratio. Narrower images are not enlarged. For web pages, 1600 to 2000 pixels is usually enough; 0 keeps the original size.
Format comparison
| Format | Full name | Type | Compression | Transparency | Animation | File extension | Developed by | Released |
|---|---|---|---|---|---|---|---|---|
| PNG | Portable Network Graphics | slika | Lossless | Yes | No | .png | W3C | 1996 |
| JPG | Joint Photographic Experts Group | slika | Lossy | No | No | .jpg, .jpeg | JPEG | 1992 |
| WEBP | WebP | slika | Lossy or lossless | Yes | Yes | .webp | 2010 | |
| AVIF | AV1 Image File Format | slika | Lossy or lossless | Yes | Yes | .avif | Alliance for Open Media | 2019 |
Što je PNG?
PNG (Portable Network Graphics) je format za slike predstavljen 1996. godine (razvio: W3C). Format koristi kompresiju bez gubitaka i podržava prozirnost. Datoteke imaju nastavak .png.
PNG was created in the mid-1990s as a free replacement for GIF, whose compression method was covered by patents at the time. It applies a filtering step and then compresses pixels with the DEFLATE algorithm, so every pixel is kept exactly. It supports full color, grayscale, palette images and a full alpha channel for smooth transparency.
PNG is the right choice for screenshots, logos, icons, diagrams, user interface graphics and any image with sharp edges, text or flat colors. It is also a safe format for images that need transparent backgrounds or will be edited again.
Because PNG is lossless, photos saved as PNG are often several times larger than the same photo saved as JPG or WebP. PNG has no lossy mode, and a standard PNG file cannot store animation.
PNG opens in every modern web browser, on Windows, macOS, Linux, Android and iOS, and in practically all image viewers, image editors, office suites and design tools. It is one of the most widely supported image formats.
Što je JPG?
JPG (Joint Photographic Experts Group) je format za slike predstavljen 1992. godine (razvio: JPEG). Format koristi kompresiju s gubicima i ne podržava prozirnost. Datoteke imaju nastavak .jpg ili .jpeg.
JPG, also written JPEG, is named after the Joint Photographic Experts Group, which wrote the standard. It splits an image into small blocks, transforms each block with a discrete cosine transform and discards the fine detail that the eye notices least. A quality setting controls how much detail is removed and therefore the file size.
JPG is the standard choice for photographs and other images with smooth color gradients, such as camera pictures, product photos and images for email or social media. It gives small files with good visual quality at moderate settings.
JPG does not support transparency or animation. Each time a JPG is edited and saved again, it loses a little more quality. Text, line art and sharp edges can show visible blocks or halos at low quality settings.
JPG is supported everywhere: in all web browsers, on all desktop and mobile operating systems, and on cameras, phones and printers. All image editors and office programs open it. It is the most compatible format for sharing photos.
Što je WEBP?
WEBP (WebP) je format za slike predstavljen 2010. godine (razvio: Google). Format podržava kompresiju i s gubicima i bez gubitaka, podržava prozirnost i može sadržavati animaciju. Datoteke imaju nastavak .webp.
WebP was developed by Google to make images on the web smaller. Its lossy mode is based on the VP8 video codec, and it also has a separate lossless mode. Both modes can include an alpha channel for transparency. The format also supports animation, so it can replace JPG, PNG and GIF in many cases.
WebP is a good choice for images on websites and in apps, where smaller files load faster. It works for photos, graphics with transparency and short animations, often at a smaller size than JPG, PNG or GIF.
Some older software, image editors, print services and upload forms still do not accept WebP. Lossy WebP always reduces color resolution, which can blur fine colored detail. At very high quality settings, the size benefit over JPG can be small.
All current major browsers display WebP, including Chrome, Edge, Firefox and Safari on recent versions of macOS and iOS. Windows, macOS, Android and most modern image editors open it, but some older desktop programs do not.
Što je AVIF?
AVIF (AV1 Image File Format) je format za slike predstavljen 2019. godine (razvio: Alliance for Open Media). Format podržava kompresiju i s gubicima i bez gubitaka, podržava prozirnost i može sadržavati animaciju. Datoteke imaju nastavak .avif.
AVIF stores images compressed with the AV1 video codec inside a HEIF-based container. It was developed by the Alliance for Open Media, a group that includes major browser and technology companies, as a royalty-free format. It supports high bit depth, wide color, HDR, transparency and image sequences.
AVIF is best for web images where file size matters most. It often produces smaller files than JPG or WebP at similar visual quality, especially for photos, and it is useful for HDR and wide color images.
Encoding AVIF is slow compared with JPG or WebP, especially at high quality settings. Many image editors, older devices and upload forms do not accept it yet. Fine detail and texture can look smoothed at low quality settings.
Current versions of Chrome, Edge, Firefox and Safari display AVIF. Recent Windows, macOS, iOS and Android versions can open it, sometimes with an extra codec extension, but support in editors, office software and older systems is incomplete.
Zašto odabrati FansBond: Kompresija slika
Većina online pretvarača prenosi vaše datoteke na svoje poslužitelje. FansBond alat „Kompresija slika” umjesto toga sav posao obavlja u vašem pregledniku, uz WebAssembly i moderne API-je preglednika. Datoteke ostaju na vašem uređaju, što je sigurnije za privatne fotografije, ugovore i neobjavljene radove, a često i brže jer se ništa ne mora prenositi ni preuzimati.
Nema čekanja u redu, vodenih žigova ni računa. Kad se stranica učita, alat nastavlja raditi čak i uz sporu vezu.
Tips for the best result
- Reducing the width often saves more than lowering the quality. A 4000-pixel phone photo shown at 1200 pixels wastes most of its data.
- Avoid compressing the same JPG again and again. Each save loses a little more detail, so always start from the original file.
- For photos saved as PNG, converting to JPG, WEBP or AVIF usually saves far more than any PNG setting, as long as you do not need transparency.
- Saving as JPG fills transparent areas with white. Keep PNG, WEBP or AVIF output for logos and graphics with a transparent background.
How Kompresija slika works in your browser
When you add an image, the browser decodes it into raw pixels on your device. HEIC photos are decoded with a browser build of libheif, and AVIF with the libavif decoder. The pixels are then processed on an HTML canvas and encoded again in the format you picked.
JPG, PNG and WebP are encoded with your browser's built-in encoders, and AVIF with libavif compiled to WebAssembly. The compressors add MozJPEG for smaller JPG files and OxiPNG for lossless PNG optimization. Because everything runs locally, the speed depends on your device rather than on a server queue.
Privacy and security
Most online converters upload your files to a server, process them there and keep a copy for some time. Kompresija slika works differently: the code is downloaded to your browser once, and your files are read and written only on your device.
You can check this yourself: after the page has loaded, turn off your internet connection and the tool still works. This makes it safe for contracts, IDs, medical records, private photos and unreleased work.
Često postavljana pitanja
Je li alat „Kompresija slika” besplatan?
Da. Alat „Kompresija slika” na FansBondu potpuno je besplatan, bez registracije, bez vodenog žiga i bez dnevnog ograničenja.
Prenose li se moje datoteke na poslužitelj?
Ne. Datoteke se obrađuju u pregledniku na vašem vlastitom uređaju. Nikad se ne šalju FansBondu ni bilo kome drugome.
Trebam li instalirati neki program?
Ne. Radi u svakom modernom pregledniku (Chrome, Safari, Firefox, Edge) na Windowsu, Macu, Linuxu, Androidu i iPhoneu.
Postoji li ograničenje veličine datoteke?
Nema fiksnog ograničenja. Budući da se obrada odvija na vašem uređaju, stvarna granica ovisi o njegovoj memoriji. Većina mobitela može obraditi datoteke od nekoliko stotina megabajta, a računala i znatno veće.
Why did my image not get smaller?
Images that are already well compressed, such as photos exported at low quality, have little data left to remove. When the new file would be the same size or larger in the same format, the tool gives you the original file unchanged.
Is PNG compression lossless?
Only in the Lossless mode of the PNG Compressor, which keeps every pixel and stores the data more efficiently. The Smaller (lossy) mode, and PNG output in the Image Compressor, reduce the image to at most 256 colors, which can add slight banding in smooth gradients.
Is EXIF data removed?
Yes. The image is saved again from its pixels, so EXIF data such as the camera model, date and GPS location is not copied, which also saves a few kilobytes. If no smaller file could be made, the original is returned with its metadata unchanged.
Srodni alati
- Kompresija JPEG-aSmanjite JPEG fotografije koderom MozJPEG za manje datoteke uz istu vizualnu kvalitetu.
- Kompresija PNG-aOptimizirajte PNG slike bez gubitaka ili smanjite broj boja za znatno manje datoteke.
- Obrezivanje slikeObrežite slike na točnu veličinu ili omjer poput 1:1, 4:5 ili 16:9.
- Zrcaljenje slikeZrcalite slike vodoravno ili okomito.
- Pretvarač slikaPretvarajte slike između formata PNG, JPG, WEBP, AVIF, HEIC, JFIF, GIF, BMP, SVG i ICO i spremite ih kao PNG, JPG, WEBP, AVIF, BMP i ICO.
- Povećanje slikePovećajte slike 2, 3 ili 4 puta uz glatko i oštro preuzorkovanje.
Podijelite sve što stvarate jednom FansBond poveznicom
Stavite svoje pretvorene datoteke, videozapise i poveznice na jednu besplatnu link-in-bio stranicu koja izgleda sjajno na svakom uređaju.
Izradite besplatnu stranicu