Konvertera BMP till SVG
Ruby-bibliotek för att konvertera BMP till SVG
Konvertera BMP till SVG med Cells Cloud SDK för Ruby
API
PUT
https://api.aspose.cloud/v3.0/cells/convert
Att konvertera filformat från BMP till SVG kan vara en komplicerad uppgift. Vår Ruby SDK hanterar alla formatkonverteringar från BMP till SVG samtidigt som det huvudsakliga strukturella och logiska innehållet i källarket BMP bevaras. Vårt Ruby-bibliotek tillhandahåller en professionell lösning för att konvertera BMP till SVG-filer online. Denna Cloud SDK ger Ruby-utvecklare kraftfull funktionalitet och säkerställer högkvalitativa SVG-utdata.
Ruby Code Exempel för att konvertera BMP till SVG med Cells Cloud SDK
# For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby/
describe 'cells_save_as_post_document_save_as test' do
it "should work" do
@instance = AsposeCellsCloud::CellsApi.new($client_id,$client_secret,"v3.0","https://api.aspose.cloud/")
name = "BOOK1.bmp"
format = 'svg'
@instance.cells_workbook_put_convert_workbook( ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) },{:format=>format})
end
end
Hur man använder Cells Cloud SDK för Ruby för att konvertera Excel-filer till andra format BMP till SVG
- Registrera ett konto påinstrumentbräda för att få gratis API kvot & auktoriseringsinformation
- Initiera Cells API med ditt klient-ID, klienthemlighet, basadress och version API.
- Använd metoden `put_convert_workbook` för att hämta den resulterande strömmen.
Systemkrav
- ruby 2.5 eller nyare