Skip to main content

Questions tagged [compression]

Compression decreases the size of data.

Filter by
Sorted by
Tagged with
0 votes
0 answers
36 views

Any way for batch conversion from JPG to DDS with DXT1 compression

I have an "file.jpg" image, I open it with GIMP, then go to "File", "Export As...", choose "DDS image". I choose the compression - BC1/DXT1, other options are ...
misha.physics's user avatar
0 votes
1 answer
33 views

File Size increases on basic pdf -> raster image -> pdf roundtrip with `pdfimages` + `magick`

Why do I not succeed into making this simple pdf → raster image → pdf round-trip file-size-stable? $ # Get original file (8KB, just extracted from my scanner). $ curl "https://nextcloud.mbb.cnrs....
iago-lito's user avatar
  • 366
0 votes
2 answers
63 views

Batch how to compress an .zip folder without root folder while also being portable

I'm trying to compress multiple separate folders to .zip (whether it be 7zip or PowerShell or tar) as well as being portable (as in the .bat can be anywhere) yes I looked at other posts but none of ...
Jimmy King's user avatar
0 votes
1 answer
30 views

What happens if during RAR compression the laptop runs out of battery?

I was compressing a large file using RAR, so it took quite a while. During the compression at some point I had to unplug the computer and let it continue with battery only. After a few hours when I ...
Torsten's user avatar
0 votes
1 answer
38 views

Handbrake: Is it useful to use Fast 480p30 for 480 mkv videos, or can I stick with Fast 1080p30?

I'm fairly new to using Handbrake, and the numerous configurations are a bit confusing. I've looked in the documentation and on the forums, and I've done some tests myself, and noticed that with Fast ...
oli_vi_er's user avatar
2 votes
3 answers
937 views

Changed file and folder names within a compressed .zip email attachment received from Outlook

I am using Outlook and I received an email containing a compressed .zip file. When I download and try to extract its contents, the names of all the files and folders contained inside the compressed ....
kostask's user avatar
  • 71
0 votes
0 answers
86 views

Create a tar.gz file without parent folder "."

I try to archive a logfile folder. The problem im having with this, is that tar creates a archive that has a folder with a dot in it, and only when i open this folder, i see the files. How can i ...
Marc's user avatar
  • 371
0 votes
0 answers
237 views

File not found or no read permission when trying to compress zip

On Windows 11, when I right click a folder and then choose Compress to Zip file, I get error. Although it makes no sense to close all programs that use this folder, I did close everything and nothing ...
Macky's user avatar
  • 93
0 votes
2 answers
102 views

my drive shows size on disk very smaller than its actual size

I have check there is no compression check on ntfs settings but still also 1 TB file shows 60 GB on disk. How is this possible ?
Hammadleo91's user avatar
0 votes
3 answers
81 views

Why is Handbrake forcing down the frame size of my video?

Summary: I have an old movie that I downloaded from YouTube some years ago, saved as an flv. I want to extract a 13-minute clip from it. To do that, I used ffmpeg to convert it to mp4 so I could load ...
NewSites's user avatar
  • 780
0 votes
1 answer
118 views

How can I know how much video compression to expect? [closed]

I'm struggling to learn about video compression. I've learned about H.265 and bit rates. I've downloaded HandBrake and tried it out on a test file. So far, in the two tests I ran, the output files are ...
NewSites's user avatar
  • 780
0 votes
1 answer
194 views

Create a archive split into blocks of a maximum size using Windows shell

As example. I want to compress a directory of 100GB split into 10 archives of 10GB using cmd or powershell, non-interactive without installing additional tools. Using tar would be awesome but ...
unixcandles's user avatar
0 votes
0 answers
55 views

WinRAR - Span Archives instead of splitting (Internet Archive)

I'm having a small issue trying to back up data to the Internet Archive. I have tried to used 7zip to split files into certain sizes (such as 7G or 25G) to upload better, but IA won't accept ...
Noah888's user avatar
1 vote
0 answers
33 views

Determine format of uncompressed ZIP file with ffprobe

I am working on a project where I need to handle ZIP archives that contain media files. Specifically, I have two files, video1.hevc and video2.mp4. For testing purposes, I created two ZIP archives ...
Gman's user avatar
  • 23
0 votes
0 answers
109 views

FFmpeg batch compressing mp4s and changing them to gifs

I want to take a folder of mp4s and with ffmpeg compress them and turn them into gifs. I do this for each file using this code: ffmpeg -i input.mp4 -c:v libx264 -tune zerolatency -preset ultrafast -...
RayRay's user avatar
  • 1
2 votes
2 answers
116 views

How to prevent large file size in JPEG-PDF roundtrip conversion?

TL;DR: File size doubled in roundtrip conversion between JPEG and PDF. Tools used : poppler and imagemagick I am doing this Extract images from a pdf containing only images (scanned document), via ...
Abdullah Ibn Fulan's user avatar
1 vote
0 answers
185 views

Is there anyway to make `tar -xf file.tar output_folder` command faster for an uncompressed file?

I'm working with a Linux system and frequently use the tar command to extract large .tar files. I'm running tar -xf file.tar output_folder to extract a .tar file into a specific output folder. I've ...
Ali Waqas's user avatar
  • 111
0 votes
1 answer
25 views

Is there a way to decompress the .dl_ and .sy_ files included on pre-WIM/ESD installation media of Windows from Linux?

Before Windows took on the image-based approach with .wim and .esd files (Windows 7 and newer?!), the installation media -- for example for Windows NT 4 -- included files like shell32.dl_ and win32k....
0xC0000022L's user avatar
  • 7,153
0 votes
1 answer
92 views

why in spite of increasing the physical size of my text file its .gz compressed size shows significant decrease in size

I have a large test file which its .gz format is about 13 GB. I have replaced a substring in the original file and compressed the file to .gz format. To do so, I used the following Linux command: zcat ...
Ahmad.S's user avatar
  • 101
2 votes
2 answers
674 views

How do I extract a multi-level compressed file (recursion) with 7-zip in one command?

If possible, how can a file that's been compressed in multiple levels, like the following example.7z file, be extracted in a single command? Assume there is only one final uncompressed file. example....
Nathan J.B.'s user avatar
2 votes
1 answer
168 views

How do you enable NTFS compression across all drives?

How do I enable NTFS compression for each of my drives? Currently it is available on my C: NVMe, E: SATA SSD, and my K: HDD but the drives I actually want to compress are not able. K: drive able to be ...
badb0ii's user avatar
  • 21
1 vote
0 answers
52 views

NTFS Compression by file extension

Can I enable NTFS compression on a disk, based on file extension? I mean, that I don't want these files compressed: *.hc, *.mkv, *.mp4, *.ogg, *.7z, *.zip, *.odt, *.docx, *.png, *.jpg but I want these ...
Chameleon's user avatar
  • 207
0 votes
1 answer
108 views

Best way to compress a directory tree containing archives and files selectively extracted from them? [closed]

I have a file structure that looks something like this: . └── base/ ├── archives/ │ ├── foo.zip │ ├── bar.rar │ └── baz.7z ├── unzipped-1/ │ └── complex subdir tree/ ...
Illya Moskvin's user avatar
1 vote
1 answer
228 views

Compress each directory to its own Zip file from command line

I have a directory of directories. I want to compress each of them in to its own zip file, keeping the same name. I don't want it to be recursive, I just want to compress dozens of folders in the same ...
Will Hanley's user avatar
0 votes
0 answers
87 views

Backing up multiple computers with Macrium Reflect - nested image files

I'm planning to back up 12 old computers and HDDs from my parent's collection. These are yet to fail despite their age. My method involves imaging the drives and partitions with default compression ...
Koenigsegg's user avatar
0 votes
0 answers
246 views

Best Lossless Video Codec for 8 bpc RGB image sequences?

I render 3D animations, many of which take days or even weeks to render at a time, and I need to keep a lossless archive of the output files. The output format from the render engine is 8 bit per ...
EllipticalInitial's user avatar
0 votes
0 answers
24 views

NTFS Compression very slow when enabled on individual folders [duplicate]

I wanted to know if anyone had come across a problem with copying files to an SSD which is using NTFS compression. I enabled compression on all of the folders on a Crucial 1TB SSD to save some space. ...
antonypg's user avatar
0 votes
1 answer
1k views

absolute fastest way to zip (not compress) larger files in 7zip?

I need to know the absolute fastest way to zip (not compress) larger files in 7-Zip. By large files I mean 1Tb or so, this will be done often (multiple times per day). I tried WinZip because it has ...
Stugots2's user avatar
0 votes
1 answer
267 views

When tar the same two packages,its md5 are not same

There are two packages with a file in it. [root@build-production test]# ll drwxr-xr-x. 2 root root 19 9月 18 07:58 pack1 drwxr-xr-x. 2 root root 19 9月 18 07:58 pack2 [root@build-production test]# ll ...
adu's user avatar
  • 3
0 votes
1 answer
264 views

WinRar and 7zip command to extract archive in new folder

Good morning I would like to know if there is a command in WinRar and 7zip that allows me to extract a compressed file into a new folder with the same file name, equivalent to right-clicking and ...
Elermino's user avatar
0 votes
2 answers
166 views

Extract compressed file - Autohotkey

I have WinRar installed and I would like to know if the program has command line functions to extract the compressed files using a hotkey with autohotkey. I haven't found this, so I've seen other ...
Elermino's user avatar
0 votes
0 answers
71 views

Do new files added to an NTFS compressed directory use the same algorithm as existing files in the directory

I have used the command line tool "compact" to compress D:\SteamLibrary with the LZX algorithm, It has marked these directories as "compressed" in file attributes. Will new files ...
FennecTECH's user avatar
0 votes
0 answers
100 views

How to uncompress files "user" in c drive

So I did this thing without knowing the consequences. I went to the local c drive > User folder > left click the file > attributes > Click advanced > clicked "compress content to ...
Sourav Pal's user avatar
0 votes
0 answers
561 views

Optimizing 7z command line options for speed and compression ratio of large .bak files

I am currently dealing with a multitude of .bak files, each averaging around 300GB in size, and I need to compress them using the 7z command line. My primary objective is to strike a balance between ...
m'hd semps's user avatar
0 votes
0 answers
165 views

Is it possible to recover a tar.xz file with the wrong hex header?

I have a compressed file in tar.xz format, when I try to open it with 7zip it gives the following error: Cannot open the file as [xz] archive Errors: Is no archive. I checked the file in a hex editor ...
Ameruca's user avatar
1 vote
0 answers
116 views

PiShrink creating files with different sizes with the same input

I've recently started using PiShrink to decrease the size of backup images and I noticed that the file size of an with PiShrink shrunken and xz compressed image. sudo pishrink.sh -Z input_image.img ...
Jannis's user avatar
  • 11
1 vote
2 answers
794 views

Decompressed a .xz file and now it has no extension and is not a directory

I had a directory of files that I compressed using: tar -cvJf my_directory.xz my_directory Now I've gone to decompress it using: xz -dv my_directory.xz my_directory and the resulting file is simply ...
lusk's user avatar
  • 113
5 votes
1 answer
1k views

How does NTFS Compression impact performance on nvme SSDs in Windows 10 on 2021 hardware?

I set up a File History backup nvme ssd in my laptop and wanted to share the results of a quick CrystalDiskMark benchmark with NTFS File and Folder Compression enabled and disabled. See answer below.
Chris Betti's user avatar
  • 2,364
-1 votes
1 answer
52 views

How convert a folder to a signle file without compression and extra hard space

I have a server in another country with 5GB free space. In this server there is a folder with 60GB size. Problem is download this folder via ftp or http. In my area http is faster than ftp. As you ...
SMQS Manager's user avatar
0 votes
0 answers
142 views

Why might I not be able to delete a file from an unextracted zip folder?

I have a zip folder (40-50GB) that contains a set of data files and a single (1 KB) .ahk script. The .ahk script was used to unencrypt the data files in a folder before creating a zip of that folder ...
lampShadesDrifter's user avatar
0 votes
1 answer
144 views

Automating image compression in Chrome with PowerShell and AutoHotkey

I want to automatically compress images I download through Chrome. As a superuser-in-training, I have tried using PowerShell but need further guidance. Additionally, I almost got AutoHotkey to work ...
JohnTry's user avatar
0 votes
2 answers
691 views

Cannot enable NTFS compression on a 18TB HDD

When I had my 18TB drive filled I noticed I could not enable NTFS compression because the function was grayed out. I followed the directions here "Compress contents to save disk space" ...
Bricktop's user avatar
  • 313
1 vote
0 answers
332 views

How to extract individual macroblock types and their corresponding motion vectors

I need to make a pair for each macroblock from a frame of a video containing its type and motion vector. I extracted motion vectors by using the python module of mv-extractor. For macroblock type I ...
Prajit Kumar's user avatar
0 votes
0 answers
326 views

What compression options does 7Zip use when you add files with a drag-drop?

When you create an archive with 7Zip, you get a dialog showing you a bunch of compression options. However when you drag-drop some files into an already-open archive in a 7Zip window, you just get a &...
Jez's user avatar
  • 2,968
0 votes
2 answers
1k views

Is there any way to compress uncompressed raw photos (NEF)?

According to Nikon, the NEF format supports lossy, lossless or no compression (there's a setting in newer cameras). What I have is a terabyte of NEFs from an old camera which are uncompressed. Is ...
kontextify's user avatar
0 votes
0 answers
76 views

Unable to decompress Password Protected Zips

I used Coolpad Note 3 lite with Android version 5.1 (lollipop). Using system's stock file manager I compressed many important files and made password protected zips & password protected nested ...
rTx's user avatar
  • 1
0 votes
1 answer
328 views

Is image file of bit depth 24 stored as 32 or 64 bit for Windows 10 64-bit (operating system)?

I need help to calculate compression of a PNG file in Windows 10 64-bit operating system. Formula is raw data size = image width * image heigth * (bits per pixel / 8). Comment from the author of above ...
SunnyTac123's user avatar
0 votes
0 answers
55 views

How to delta compress audio track file , video tracks file, full webm file into one zip file?

Using yt-dlp -k https://youtu.be/33BT7KIZwTY, I downloaded audio and video files and obtained a merged webm file. After running the command, there are three files: youtube originals [33BT7KIZwTY].f251....
kouhe3's user avatar
  • 21
0 votes
1 answer
185 views

is JPEG artifact in any case unavoidable when increasing image size?

When I increase the image size to 200% or higher , the JPEG artifacts (ugly dots around sharp edges) are clearly visible. Same goes for PDF files that are lossily compressed. Are there no compression ...
medukia's user avatar
  • 33
0 votes
1 answer
6k views

Zip file compression failed “output file write failure, your disk could be full” even though I have enough space

I want to compress a 45 gb file with zip, but it says “output file write failure, your disk could be full” after about 20 minutes. I have another 4 terabytes of storage left.
Cabbage's user avatar
  • 27

1
2 3 4 5
25