Inkscape fails to open .ARW ( Sony RAW ) file

I have recently installed inkscape on a KDE4 desktop using opensuse 11.3.

I tried opening a .ARW file coming from a Sony NEX digital camera. The open file dialog page indicates that .arw files are supported, but when i try to do so a failure error message box appears.

I started by asking this question at inkscape.org and got this response:

"Your question #147075 on Inkscape changed:
https://answers.launchpad.net/inkscape/+question/147075

Status: Open => Answered

~suv proposed the following answer:
> This version is 0.47 R22583.

Current stable release is Inkscape 0.48.1 r9760 [0] (available on Ubuntu
Natty, don’t know about other distros).

> Is this because the version of inkscape offered by
>opensuse is too old to support the NEX .arw files
> or is this a software bug ?

Neither is Inkscape 0.47 too old nor is it a software bug: Inkscape
doesn’t (and never did) support any RAW file formats natively - see
<http://tavmjong.free.fr/INKSCAPE/MANUAL_v16/html/File-Import.html> for
the list of supported file types for import/open in Inkscape 0.48.

For raster image support (open/import), Inkscape relies on Gdk-pixbuf
[1] (as far as I understand, the list of supported raster file formats
is queried from the gdk-pixbuf module, using ‘gdk_pixbuf_get_formats ()’
[2]).

See also related feature requests:
Bug #172187 “Import RAW files”
Bug #172207 “RAW export (command line)”
Bug #171390 “Extended Raster export support please”

[0] <https://launchpad.net/inkscape/0.48.x/0.48.1>
[1] <http://library.gnome.org/devel/gdk-pixbuf/stable/index.html>
[2] <http://bazaar.launchpad.net/~inkscape.dev/inkscape/RELEASE_0_48_BRANCH/view/head:/src/extension/internal/gdkpixbuf-input.cpp#L117>"

At the present time, i open arw files in gimp using the ufraw plug-in then i save as a uncompressed tiff file. Then i open the tiff file in inkscape.

My questions are as follows:

  1. Since RAW files are not natively supported in inkscape, was it added as an extension by opensuse developers?

  2. If so, is it the Gdk-pixbuf application -that has been used in opensuse- that makes the opening of raw files in inkscape possible ?

  3. If so, is it possible to modify the Gdk-pixbuf application to make raw files produced by a Sony NEX camera open in inkscape ?

Thank you for your time and help.

Salutations,

Lokian

0.48.1 r9760 is also available from the openSUSE repositories; that is the one I am using - 0.47 was superseded in the openSUSE repositories a long time ago.

Thank you for the information.

I removed the old version of inkscape.
I then added and registered the additional repository that contains the updated version of inkscape, and then installed the new version of inkscape and all of it’s relevant extensions.

The version i have now is Inkscape 0.48.1 r9760.

When i try to open a .arw file, i now get a page asking me to choose between working with an embedded or linked file. Whichever i choose i then get the same file open fail message i obtained with the old version of inkscape.

Salutations,

Lokian

Lokian wrote:

>
> john_hudson;2296706 Wrote:
>> 0.48.1 r9760 is also available from the openSUSE repositories; that is
>> the one I am using - 0.47 was superseded in the openSUSE repositories a
>> long time ago.
>
> Thank you for the information.
>
> I removed the old version of inkscape.
> I then added and registered the additional repository that contains the
> updated version of inkscape, and then installed the new version of
> inkscape and all of it’s relevant extensions.
>
> The version i have now is Inkscape 0.48.1 r9760.
>
> When i try to open a .arw file, i now get a page asking me to choose
> between working with an embedded or linked file. Whichever i choose i
> then get the same file open fail message i obtained with the old version
> of inkscape.
>
> Salutations,
>
> Lokian
>
>
Perhaps passing the .arw file through ufraw would help convert it into a
format that inkscape would understand. Works for importing RAW files into
Gimp.

Bob

Registered Linux User #463880 FSFE Member #1300
GPG-FP: A6C1 457C 6DBA B13E 5524 F703 D12A FB79 926B 994E
openSUSE 11.3 64-bit, Kernel 2.6.36.90-desktop, KDE 4.5.3
Intel Core2 Quad Q9400 2.66GHz, 8GB DDR RAM, nVidia GeForce 9600GT

Yes, you are correct.

What i presently do now is either,

open the .arw file using the UFRaw plugin i added to Gimp or
open the .arw file using the raw plugin in Digikam and then

i convert the raw file into a uncompressed .tiff file and
open the .tiff file in inkscape.

Salutations,

Lokian