
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
expo-image-filter
Advanced tools
Note: This module is still under development. Appreaciate any feedback or contributions!
iOS only for now
Apply filters to images in React Native. Works with expo-image
, uses the native shared image object for blazingly fast performance.
$ npx expo install expo-image-filter
$ npx pod-install
import { useImage } from "expo-image";
import {
createCIFilter,
setFilterValue,
getOutputImage,
createBase64,
} from "expo-image-filter";
function App() {
const [imageData, setImageData] = useState<string>();
const inputImage = useImage({ uri: uri });
const func = async () => {
if (inputImage) {
const nativeFilter = await createCIFilter("CISepiaTone");
await setFilterValue(nativeFilter, "inputImage", image);
await setFilterValue(nativeFilter, "inputIntensity", 1);
const outputImageRes = getOutputImage(nativeFilter, true);
const base64Image = await createBase64FromImage(outputImageRes);
setImageData(base64Image);
}
};
return imageData ? (
<Image
source={{ uri: `data:image/png;base64,${imageData}` }}
style={{ width: 100, height: 100 }}
/>
) : (
<></>
);
}
getOutputImage
compatible with <ExpoImage source={}>
getOutputImage
be acceptable as setImageValue
for filter chainingFAQs
Apply iOS CIFilter in RN
The npm package expo-image-filter receives a total of 1 weekly downloads. As such, expo-image-filter popularity was classified as not popular.
We found that expo-image-filter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.