Search found 5 matches

by keljnr
2019-03-27T08:42:17-07:00
Forum: Users
Topic: Adding background gradient to each image, then convert to pdf
Replies: 4
Views: 1183

Re: Adding background gradient to each image, then convert to pdf

No I hadn't, works perfectly. Great job snibgo!! :-)
by keljnr
2019-03-27T07:41:46-07:00
Forum: Users
Topic: Adding background gradient to each image, then convert to pdf
Replies: 4
Views: 1183

Re: Adding background gradient to each image, then convert to pdf

Many thanks for getting back to me. I'm actually using v7 of imagemagick.
Upon running the script, I get the following error:

Code: Select all

magick: invalid argument for option 'sparse-color': Color found, instead of X-co
ord @ error/operation.c/SparseColorOption/272.
by keljnr
2019-03-27T03:51:50-07:00
Forum: Users
Topic: Adding background gradient to each image, then convert to pdf
Replies: 4
Views: 1183

Adding background gradient to each image, then convert to pdf

I currently have a script that when you right click on a folder to execute a batch file, converts all the EXRs to PDF: cd %~dpnx1 for %%a in (.) do set currentfolder=%%~na start cmd /k convert *exr* -colorspace RGB -colorspace sRGB -background none -alpha remove "%currentfolder%.pdf" However, I'm wa...
by keljnr
2018-10-29T04:14:24-07:00
Forum: Users
Topic: Search images in subfolders and convert
Replies: 1
Views: 1934

Search images in subfolders and convert

I have put together a simple script, which when used on the direct parent folder of the files, works fine: cd %~dpnx1 for %%a in (.) do set currentfolder=%%~na magick "*jpg*" "*png*" "*tif*" "%currentfolder%.pdf" It searches for jpg, png and tifs in a folder and converts to a pdf, renaming it as fol...
by keljnr
2018-10-16T03:41:51-07:00
Forum: Users
Topic: Rename image conversion to parent folder name
Replies: 1
Views: 1477

Rename image conversion to parent folder name

I have a simple script to convert all jpegs in a folder into one pdf: magick *jpg* myfile.pdf Is it possible to rename the myfile.pdf to the folder name it sits in? So if the jpgs are in a folder called 'myFolder', the pdf will be myFolder.pdf I have a lot of folders with images and don't want to ma...