Latex compilation -> pdf-image conversion saving path
Latex compilation -> pdf-image conversion saving path
I'm compiling my latex files to convert them automatically from PDF to image with Image Magick. Though I'm not sure whether this is rather latex compiler or Image Magick problem, perhaps I figure out something there.
The outcome image should be saved into recent folder (i.e. ..\import\). However IM wants the image in some unknown subfolder (\300), that I have never configured:
Also I'm looking for some IM configuration that determines the saving path.
If anyone wants latex compilation log file. I'm using MiKTeX compiler.
The outcome image should be saved into recent folder (i.e. ..\import\). However IM wants the image in some unknown subfolder (\300), that I have never configured:
Also I'm looking for some IM configuration that determines the saving path.
If anyone wants latex compilation log file. I'm using MiKTeX compiler.
Re: Latex compilation -> pdf-image conversion saving path
Can anybody help me? Thanks. Whole story
Re: Latex compilation -> pdf-image conversion saving path
If I successfully set folder permissions in command line:
the access is still denied. Please help...
Code: Select all
ICACLS "C:\Users\PC\Desktop\import\300" /grant "PC":F
ICACLS "C:\Users\PC\Desktop\import\300" /grant "Administrators":F
ICACLS "C:\Users\PC\Desktop\import\300" /grant "SYSTEM":F
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Latex compilation -> pdf-image conversion saving path
ImageMagick has no configuration that determines the path for saving files.
The error message you are getting form IMdisplay is for an image file, not a directory.
The error message you are getting form IMdisplay is for an image file, not a directory.
snibgo's IM pages: im.snibgo.com
Re: Latex compilation -> pdf-image conversion saving path
OK, can you situate me to try anything?
Test commands work for me:
Test commands work for me:
Code: Select all
$ convert logo: logo.gif
$ identify logo.gif
$ imdisplay
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Latex compilation -> pdf-image conversion saving path
Something is telling IMdisplay to open an image file called "C:\Users\PC\Desktop\import\300".
ImDisplay can't find that file.
Does the file exist? If not, then that is why IMdisplay can't find it.
ImDisplay can't find that file.
Does the file exist? If not, then that is why IMdisplay can't find it.
snibgo's IM pages: im.snibgo.com
Re: Latex compilation -> pdf-image conversion saving path
No, there is not such a file. I'm converting PDF file (it's called import.pdf) into image file.
I'm using standalone macro for cropping the formatted text/tikz image at compilation and then automatically calling IM to convert created PDF. In standalone manual there aren't noticed some special tasks for conversion software (just -shell-escape attribute), as well as some comments about 300 image.
I'm using standalone macro for cropping the formatted text/tikz image at compilation and then automatically calling IM to convert created PDF. In standalone manual there aren't noticed some special tasks for conversion software (just -shell-escape attribute), as well as some comments about 300 image.
Re: Latex compilation -> pdf-image conversion saving path
If I call the whole project 300 (-> 300.pdf), it still cannot find the 300 file.
Re: Latex compilation -> pdf-image conversion saving path
I have the feeling that ImageMagick is not called properly. The 300 looks like some density parameter.
Re: Latex compilation -> pdf-image conversion saving path
When I call convert in command line, it probably launch that WIN tool for converting FAT into NTFS. Also I gotta call the entire path:
Then it works. Could it be the problem? How can I get rid of it (may I delete that tool from path variable)?
Code: Select all
"D:\Program Files\ImageMagick-6.8.9-Q16\convert.exe" import.pdf import.png
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Latex compilation -> pdf-image conversion saving path
rename IM convert.exe to something like IMconvert.exe and then use that
Re: Latex compilation -> pdf-image conversion saving path
I renamed convert.exe into imgconvert.exe (there was another imgconvert.exe and I removed it, hope it doesn't matter), and NOW IT WORKS! After compilation, there is PNG image created
Thanks for your answers!
Thanks for your answers!