Liking cljdoc? Tell your friends :D

image-lib.core


add-keyword-to-photoclj

(add-keyword-to-photo db image-collection keyword photoid)
(add-keyword-to-photo db image-collection keyword year month project photo)

Adds <keyword> to the keywords field of <photo> in the images table.

Adds <keyword> to the keywords field of <photo> in the images table.
sourceraw docstring

add-missing-keywordsclj

(add-missing-keywords db image-collection keyword-collection)
(add-missing-keywords db image-collection keyword-collection root-keyword)

Add any keywords present in the images but not in the keyword collection

Add any keywords present in the images but not in the keyword collection
sourceraw docstring

add-orphaned-keywordsclj

(add-orphaned-keywords db kc)
source

best-imageclj

(best-image db image-collection given-keyword)

Return the first of the highest rated images.

Return the first of the highest rated images.
sourceraw docstring

best-sub-imageclj

(best-sub-image db image-collection keyword-collection keyword)

Return the first of the highest rated images, searches sub keywords too

Return the first of the highest rated images, searches sub keywords too
sourceraw docstring

merge-keywordclj

(merge-keyword db
               keyword-collection
               image-collection
               dispose-keyword
               keep-keyword)
source

missing-keywordsclj

(missing-keywords db image-collection keyword-collection)

Returns a set of all keywords found in images but not in the keyword collection

Returns a set of all keywords found in images but not in the keyword collection
sourceraw docstring

orphaned-keywordsclj

(orphaned-keywords database kw-collection)
source

remove-keyword-from-photoclj

(remove-keyword-from-photo db image-collection keyword photoid)
(remove-keyword-from-photo db image-collection keyword year month project photo)

Deletes <keyword> from the keyword field of <photo> in the image table.

Deletes <keyword> from the keyword field of <photo> in the image table.
sourceraw docstring

remove-keyword-from-photosclj

(remove-keyword-from-photos db image-collection keyword)

removes a given keyword from the keywords field of all images

removes a given keyword from the keywords field of all images
sourceraw docstring

rename-keywordclj

(rename-keyword db keyword-collection old-keyword new-keyword)
(rename-keyword db keyword-collection image-collection old-keyword new-keyword)

Changes the keyword including any references in parents. If given the image-collection it will also change the keyword in the :Keyword field of every matching entry in the image-collection. Doesn't change the original images. Note that the short form also changes the image collectoion.

Changes the keyword including any references in parents. If given the image-collection it will also change the keyword in the :Keyword field of every matching entry in the image-collection. Doesn't change the original images. Note that the short form also changes the image collectoion.
sourceraw docstring

replace-keyword-in-photosclj

(replace-keyword-in-photos db image-collection old-keyword new-keyword)

replace keyword in the :Keywords field of all images

replace keyword in the :Keywords field of all images
sourceraw docstring

unused-keywordsclj

(unused-keywords db image-collection keyword-collection)

returns a set of all keywords found in the keyword-collection but not present in any images

returns a set of all keywords found in the keyword-collection but not present in any images
sourceraw docstring

used-keywordsclj

(used-keywords db image-collection)

returns a set of all keywords found in the given database of images

returns a set of all keywords found in the given database of images
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close