c
int temp = atoi(optarg);
if (temp != 0) {
    horizSubSampling = temp;
} else {
    fprintf(stderr, "Error: Horizontal subsampling cannot be zero.\n");
    exit(1);
}
