• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
FxTexture size for image well images
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FxTexture size for image well images


  • Subject: FxTexture size for image well images
  • From: Ben Syverson <email@hidden>
  • Date: Thu, 5 Aug 2010 13:01:04 -0500

Hi all,

I have an FxPlug that takes extremely small images as parameters, and I'm having trouble determining the "true" size of the source image. When I pass a 60x10 pixel image in, sometimes the FxTexture reports its width and height as 62x13, but sometimes it reports it as 60x10.

If [fxTexture width] is the wrong way to get the "true" width of the texture, I would love to know the correct way. Is the problem that the image is getting resampled/antialiased before becoming a texture?

Also, it would be great to be able to access the source image at full scale, even if the render is not full scale. In other words, when rendering a thumbnail, I still need all 60x10 pixels of that parameter image. As it is, it's getting downscaled to a useless 6x4 pixels.

I'm now forced to implement a custom UI so I can load images from the file system. It's the only way I can reliably produce an FxTexture exactly the size of the image. I really hate reimplementing the functionality of a built-in parameter type. It's such a hacky workaround.

Any advice would be appreciated!

Ben

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: FxTexture size for image well images
      • From: Darrin Cardani <email@hidden>
  • Prev by Date: Re: Out of range premultiplied images in FxPlug/FCP
  • Next by Date: Re: FxTexture size for image well images
  • Previous by thread: Re: Out of range premultiplied images in FxPlug/FCP
  • Next by thread: Re: FxTexture size for image well images
  • Index(es):
    • Date
    • Thread