Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
main.c File Reference
#include <glib.h>
#include <gtk/gtk.h>
#include <libintl.h>
#include <limits.h>
#include <sqlite3.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "common/darktable.h"
#include "common/database.h"
#include "common/debug.h"
#include "common/mipmap_cache.h"
#include "common/file_location.h"
#include "common/history.h"
#include "config.h"
#include "control/conf.h"
+ Include dependency graph for generate-cache/main.c:

Functions

static int generate_thumbnail_cache (const dt_mipmap_size_t min_mip, const dt_mipmap_size_t max_mip, const int32_t min_imgid, const int32_t max_imgid)
 
static void usage (const char *progname)
 
int main (int argc, char *arg[])
 

Function Documentation

◆ generate_thumbnail_cache()

◆ main()

int main ( int  argc,
char *  arg[] 
)
Todo:
: test if file with replaced ext exists
Todo:
: add a callback to set the bpp without going through the config
Todo:
: have a parameter in command line to get the export presets

References darktable_package_version, dt_cleanup(), dt_conf_get_bool(), dt_init(), dt_loc_get_localedir(), dt_loc_init(), DT_MIPMAP_0, DT_MIPMAP_2, DT_MIPMAP_7, dt_osx_prepare_environment(), FALSE, generate_thumbnail_cache(), GETTEXT_PACKAGE, MAX, MIN, PATH_MAX, TRUE, UNKNOWN_IMAGE, and usage().

◆ usage()

static void usage ( const char *  progname)
static

Referenced by main().