Deepu Shaji

Results 2 comments of Deepu Shaji

use photon_rs::native::open_image; use photon_rs::transform::rotate; let img = open_image("img.jpg").expect("File should open"); let rotated_img = rotate(&img, 30); This was the sample code used.

This is in a react application. `// UpscaleImage.jsx import React, { useState } from 'react'; import Upscaler from 'upscaler'; import x2 from '@upscalerjs/esrgan-slim/2x'; const UpscaleImage = () => { const...