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

MagickAutoOrientImage (and more...) functions/type not in Default branch #10

Open
top4music opened this issue Jun 19, 2022 · 0 comments

Comments

@top4music
Copy link

top4music commented Jun 19, 2022

Hi,

on "go get github.com/gographics/gmagick" it downloads correctly the package but a piece of code is missing.
This:

// Sets the image orientation.
func (mw *MagickWand) SetImageOrientation(orientation OrientationType) error {
	ok := C.MagickSetImageOrientation(mw.mw, C.OrientationType(orientation))
	return mw.getLastErrorIfFailed(ok)
}

// Auto orient the image
func (mw *MagickWand) AutoOrientImage(orientation OrientationType) error {
	ok := C.MagickAutoOrientImage(mw.mw, C.OrientationType(orientation))
	return mw.getLastErrorIfFailed(ok)
}

Why this? Can I get the "complete" version in one-line-command?

Thanks

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