x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Using the ImageWrapperModule

Im Attempting to load some jpegs at runtime and convert them to Texture2D. And I believe I have to use the imagewrappermodule to do this But I cant seem to instance an object. Normal Instancing using NewObject() doesnt seem to work as it is apparently an abstract class.

Am I on the correct route? is IImageWrapperModule required to convert a jpeg to a texture2d at runtime?

Product Version: Not Selected
Tags:
more ▼

asked Oct 05 '14 at 09:20 AM in C++ Programming

avatar image

Opamp77
264 21 17 139

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

I figured it out, Needed to use FmoduleManager to load it.

 IImageWrapperModule& ImageWrapperModule = FModuleManager::LoadModuleChecked<IImageWrapperModule>(FName("ImageWrapper"));
     IImageWrapperPtr JpegImageWrapper = ImageWrapperModule.CreateImageWrapper(EImageFormat::JPEG);



more ▼

answered Oct 06 '14 at 11:54 AM

avatar image

Opamp77
264 21 17 139

avatar image joeysnow Oct 13 '16 at 09:27 AM

what the image path is?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hey man, could you do me a HUGE favor and post the exact code for the header and .cpp files? Or better yet, make it into a plugin?

more ▼

answered Mar 06 '18 at 12:24 PM

avatar image

Ecroton
1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question