Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VGImage createImageFromJpeg - can width/height of image be made global to allow accessing #51

Open
steverpi opened this issue Feb 28, 2016 · 1 comment

Comments

@steverpi
Copy link

Thanks for the update to allow accessing VGImage createImageFromJpeg() which now allows me to load in jpgs into VGimage bufs. I need to find the width and height of the images once loaded in and see that this section of code is used in your routine:

width = jdc.output_width;
height = jdc.output_height;

If the above local width and height were made global, they could be accessed after calling createImageFromJpeg() - or is there another way to find these values.
Thanks

@steverpi steverpi changed the title VGImage createImageFromJpeg - can the width height of image be access (eg make global) VGImage createImageFromJpeg - can width/height of image be made global to allow accessing Feb 29, 2016
@steverpi
Copy link
Author

The reason for the request is to allow reading in multiple jpg images and as each width and height is known, they can be correctly positioned and aligned on the screen without fear of overwriting each other. In addition, are there any openvg/OpenVG functions which can be called to return these values?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant