corinthia-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jan i <j...@apache.org>
Subject Re: JPEG in Linux -ERROR
Date Sat, 18 Apr 2015 16:46:38 GMT
Forwarding replies as it seems artur is not subscribed to dev@

to us: when somebody new to the list, it is good to add the mail addr to
the reply (I know I forgot it).

rgds
jan I.


On 15 April 2015 at 18:47, Gabriela Gibson <gabriela.gibson@gmail.com>
wrote:

> This may not be related, but I just borrowed a couple of owl piccies from
> Wikipedia, which saved as '.jpg' files and it was not a success. So it
> maybe that Corinthia is innocent and something else is afoot.
>
> GIMP is refusing to open them and complains thus:
>
> [[
> JPEG image Message
>
> Not a JPEG file: starts with 0x3c 0x21
>
> Opening '/home/g/cor5/incubator-corinthia/sample/documents/owl_chick.jpg'
> failed:
>
> JPEG image plug-In could not open image
> ]]
>
> Place where I got it: https://en.wikipedia.org/wiki/Owl
>
> Files I tried:
> https://en.wikipedia.org/wiki/File:Athene_cuniculariaa.jpg
> https://en.wikipedia.org/wiki/File:Short-eared_owl_chick.jpg
>
> As a side note, I'm assuming that it's OK to borrow wiki images for Apache
> projects?
>
> G
>
>
> On Tue, Apr 14, 2015 at 7:29 PM, jan i <jani@apache.org> wrote:
>
> > On Tuesday, April 14, 2015, Artur Teixeira <artur@top-docs.co> wrote:
> >
> > > Good Afternoon,
> > > I'd greatly appreciate if you can help me with an issue im having with
> > the
> > > dfconvert.
> > >
> > > When i execute the OS X version "dfconvert create to.docx from.html"
> > there
> > > is no problem.
> > > BUT if i execute the same code with the same files in LINUX the .jpeg
> > gives
> > > out this information:
> > >
> > > > Could not get aspect ratio of image: Unsupported image format
> > >
> > > Is this normal? The linux version isn't prepared for this yet? Is
> there a
> > > simple solution out there?
> > > I couldn't find a good answer for this online.
> >
> > As far as I know it should work, I do not have my dev. platform right
> here,
> > but when you
> > linked you need to give extra libraries, one being iconv that is
> > responsible for the conversion.
> >
> > if nobody beats me to it, I will take a look in the source tomorrow.
> >
> > rgds
> > jan i
> >
> > >
> > > P.S. I don't know if it helps but, the conversion of the .docx with
> jpeg
> > > files to .html (and "images" folder) has no problem either in LINUX or
> OS
> > > X, with or without JPEG.
> > >
> > > Best regards,
> > > --
> > > Artur Teixeira
> > > Web & iOS Developer @ TopDocs
> > >
> >
> >
> > --
> > Sent from My iPad, sorry for any misspellings.
> >
>
>
>
> --
> Visit my Coding Diary: http://gabriela-gibson.blogspot.com/
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message