Since I switched to Inkscape 0.9.2.4 I cannot import images (.jpg or .png) without getting the message "Linked image not found". I can open and work with these images in other programs (GIMP. Krita, Fotoxx, etc.) If I open an image in GIMP (for example) and resave the image without doing anything to it, then I can import the image to Inkscape with no problem. Does anybody have the same problem and found a solution?
Are these images on your main drive? Or is it a network share or USB or something similar? What happens if you try to embed the image instead of linking (just out of interest!) Does that work?
Thanks for all the attention. I’ll try to be as specific as I can. My computer system’s specs are attached in a PDF file, short version: I use a Linux Mint 19, desktop. Inkscape 0.92.4 (2.10) was installed through PPA.Launchpad. I have been embedding (never linking) images for years with Inkscape and before 0.92.4, I had no problems with “Linked image not found”. However, I have just discovered that only the photos taken by Android cellphones (brand: Moto e2, e4, g6, etc) affect Inkscape-ONLY. As always, I download pictures from the phone by USB cable to my hard drive, and occasionally email them to myself, before I work on them. Right now I can embed these affected photos two ways: 1. open them in GIMP and export them to a new file which I use, or 2. open them with any app (Image Viewer, Krita, GIMP, etc.) and copy>paste them into Inkscape (dragging the files won’t work). Both approaches work, howevr, the latter is more efficient but still a pain. I am also attaching two JPG files. The one with the long file name is the original that I cannot embed in Inkscape, the image with the short name is the same image but exported through GIMP, which does work. Except for the slightly increased file size due to exporting, I have no way to track the difference between the two files.
So, I made a comparison with identify -verbose filename for the images, but I don't know which of the differences are relevant. For anyone who wants to investigate:
I just found another difference that I hope is more meaningful. All the pictures that cannot be embedded in Inscape have and ExifByteOrder "Big-endian" and all the ones that work with Inkscape have "Little-endian" byte order.Go figure.
Inkscape uses gdk-pixbuf for reading bitmap formats.
While it seemed probable, gdk-pixbuf is able to import the file just fine, though. (I've tried with "gdk-pixbuf-thumbnailer.exe" and also the preview in the native Windows file open dialog is showing both files properly, which is also using gdk-pixbuf).
The problem therefore seems to occur once the files are embedded into an Inkscape document (which is obviously the case for the canvas, but also for the GTK file open dialog's preview).
I think at this point it's best to open a bug report having all the info collected so far (and samples), so we can investigate.
HI! Have a trouble: Want import .jpeg for background, have a message: Failed to load the requested file <path>. Please Help! ;) requrements: Win 10 x64 pro, admin rights, photo .jpeg 6,3 mb., SSD, Lastet version antyvirus and inkscape.
Please read thread #6 in this discussion. I have found no solution to this problem other than the ones mentioned in the thread: 1. Copy/Paste the image (that you open in any app) to Inkscape, or 2. Open and resave the picture in a photo app (Photoshop, GIMP etc.) and use the resaved picture in Inkscape.
(actually, the second one. The first one was opened as being 'confidential', and the user never replied to the developer's questions - maybe got no email?)
Since I switched to Inkscape 0.9.2.4 I cannot import images (.jpg or .png) without getting the message "Linked image not found". I can open and work with these images in other programs (GIMP. Krita, Fotoxx, etc.) If I open an image in GIMP (for example) and resave the image without doing anything to it, then I can import the image to Inkscape with no problem. Does anybody have the same problem and found a solution?
Haven't heard about this yet. Can you please add info about your operating system and share one of those files that does not work?
Additionally, can you please let us know if those files are saved locally, or on some external drive or even a network drive?
fyi. I just tested a couple of pngs and jpgs and it works fine for me. We could test it if you want to attach one of the files here perhaps.
Are these images on your main drive? Or is it a network share or USB or something similar? What happens if you try to embed the image instead of linking (just out of interest!) Does that work?
? Dee, z3z, why do you ask the same thing I already asked again, just in two different posts? (minus the embed vs. link question, which is new)
Thanks for all the attention. I’ll try to be as specific as I can. My computer system’s specs are attached in a PDF file, short version: I use a Linux Mint 19, desktop. Inkscape 0.92.4 (2.10) was installed through PPA.Launchpad. I have been embedding (never linking) images for years with Inkscape and before 0.92.4, I had no problems with “Linked image not found”. However, I have just discovered that only the photos taken by Android cellphones (brand: Moto e2, e4, g6, etc) affect Inkscape-ONLY. As always, I download pictures from the phone by USB cable to my hard drive, and occasionally email them to myself, before I work on them. Right now I can embed these affected photos two ways: 1. open them in GIMP and export them to a new file which I use, or 2. open them with any app (Image Viewer, Krita, GIMP, etc.) and copy>paste them into Inkscape (dragging the files won’t work). Both approaches work, howevr, the latter is more efficient but still a pain. I am also attaching two JPG files. The one with the long file name is the original that I cannot embed in Inkscape, the image with the short name is the same image but exported through GIMP, which does work. Except for the slightly increased file size due to exporting, I have no way to track the difference between the two files.
Confirmed, with the same system configuration.
So, I made a comparison with identify -verbose filename for the images, but I don't know which of the differences are relevant. For anyone who wants to investigate:
< Interlace: None
---
> Interlace: JPEG
< exif:InteroperabilityOffset: 3334
< jpeg:sampling-factor: 2x2,1x1,1x1
< signature: 99005a1fd11692ed2eb5388213e64d460efce8f0bca13005d64c932a0e9ef773
---
> jpeg:sampling-factor: 1x1,1x1,1x1
> signature: 1714e57fda778bf6e07563f9fb0aeda224e89aed39b73000c96b8da06615fc80
< Profile-app6: 202651 bytes
< Profile-exif: 56951 bytes
---
> Profile-exif: 17272 bytes
> Profile-icc: 672 bytes
Aside from that, the thumbnail info is a bit different.
I just found another difference that I hope is more meaningful. All the pictures that cannot be embedded in Inscape have and ExifByteOrder "Big-endian" and all the ones that work with Inkscape have "Little-endian" byte order.Go figure.
Good find! Now it would be interesting to know what library Inkscape (and even its preview) uses to open and transcode jpg files. I have no clue :)
I'm sure they didn't mean any disrespect - just trying to be helpful.
Inkscape uses gdk-pixbuf for reading bitmap formats.
While it seemed probable, gdk-pixbuf is able to import the file just fine, though. (I've tried with "gdk-pixbuf-thumbnailer.exe" and also the preview in the native Windows file open dialog is showing both files properly, which is also using gdk-pixbuf).
The problem therefore seems to occur once the files are embedded into an Inkscape document (which is obviously the case for the canvas, but also for the GTK file open dialog's preview).
I think at this point it's best to open a bug report having all the info collected so far (and samples), so we can investigate.
Link for bug reports: https://inkscape.org/report
HI! Have a trouble: Want import .jpeg for background, have a message: Failed to load the requested file <path>. Please Help! ;) requrements: Win 10 x64 pro, admin rights, photo .jpeg 6,3 mb., SSD, Lastet version antyvirus and inkscape.
Please read thread #6 in this discussion. I have found no solution to this problem other than the ones mentioned in the thread: 1. Copy/Paste the image (that you open in any app) to Inkscape, or 2. Open and resave the picture in a photo app (Photoshop, GIMP etc.) and use the resaved picture in Inkscape.
Posts # 12 and 13 have concluded this may be a bug, and requested you to file a bug report.
Bug report here: https://gitlab.com/inkscape/inbox/issues/964
(actually, the second one. The first one was opened as being 'confidential', and the user never replied to the developer's questions - maybe got no email?)