Why is it that one is stretched and one isn't with the same EDC file
contents then? Is the one that is fit just happen to have "nice" dimensions
for the space the object has?

On Tue, Feb 7, 2017 at 11:52 AM, Cedric BAIL <cedric.b...@free.fr> wrote:

> On Tue, Feb 7, 2017 at 9:28 AM, Jeff Hoogland <jeffhoogl...@gmail.com>
> wrote:
> > Really baffled by this. Using EFL 1.18.4 release. How is it possible for
> > two images with the exact same EDC file to be displayed differently in
> the
> > same object?
> >
> > First: http://i.imgur.com/xvi49CS.png
> > Second: http://i.imgur.com/c2KbyGr.png
> >
> > One is all stretched out, the other perfectly fine
> >
> > Source for the image edcs:
> >
> > https://github.com/JeffHoogland/MokshaForum/blob/
> master/forum-moksha/edcs/mokshapreview.edc
> > https://github.com/JeffHoogland/MokshaRadiance/
> blob/master/MokshaRadiance/edc/mokshapreview.edc
> >
> > The preview PNG files are slightly different resolutions if that matters
> > for some reason. Ideally would like both image previews to scale based on
> > width and not distort at all.
>
> If the image are not the same, the constraint applied by edje are not
> the same. You may want to force the aspect of the image to be
> respected with "aspect_preference: SOURCE". I am guessing that this is
> the problem.
>
> Cedric
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>



-- 
~Jeff Hoogland <http://jeffhoogland.com/>
My Projects on GitHub <https://github.com/JeffHoogland>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to