Line
Link Here
|
0 |
-- shotwell-0.11.2.orig/src/photos/GRaw.vala |
0 |
++ shotwell-0.11.2/src/photos/GRaw.vala |
Lines 163-172
Link Here
|
163 |
proc = new LibRaw.Processor(options); |
163 |
proc = new LibRaw.Processor(options); |
164 |
} |
164 |
} |
165 |
|
165 |
|
166 |
public void add_masked_borders_to_bitmap() { |
|
|
167 |
proc.add_masked_borders_to_bitmap(); |
168 |
} |
169 |
|
170 |
public void adjust_sizes_info_only() throws Exception { |
166 |
public void adjust_sizes_info_only() throws Exception { |
171 |
throw_exception("adjust_sizes_info_only", proc.adjust_sizes_info_only()); |
167 |
throw_exception("adjust_sizes_info_only", proc.adjust_sizes_info_only()); |
172 |
} |
168 |
} |
Lines 215-224
Link Here
|
215 |
throw_exception("ppm_tiff_writer", proc.ppm_tiff_writer(filename)); |
211 |
throw_exception("ppm_tiff_writer", proc.ppm_tiff_writer(filename)); |
216 |
} |
212 |
} |
217 |
|
213 |
|
218 |
public void rotate_fuji_raw() throws Exception { |
|
|
219 |
throw_exception("rotate_fuji_raw", proc.rotate_fuji_raw()); |
220 |
} |
221 |
|
222 |
public void thumb_writer(string filename) throws Exception { |
214 |
public void thumb_writer(string filename) throws Exception { |
223 |
throw_exception("thumb_writer", proc.thumb_writer(filename)); |
215 |
throw_exception("thumb_writer", proc.thumb_writer(filename)); |
224 |
} |
216 |
} |
Lines 262-268
Link Here
|
262 |
// camera_profile |
254 |
// camera_profile |
263 |
// bad_pixels |
255 |
// bad_pixels |
264 |
// dark_frame |
256 |
// dark_frame |
265 |
output_params->filtering_mode = LibRaw.Filtering.AUTOMATIC; |
|
|
266 |
output_params->output_bps = 8; |
257 |
output_params->output_bps = 8; |
267 |
// output_tiff |
258 |
// output_tiff |
268 |
output_params->user_flip = GRaw.Flip.FROM_SOURCE; |
259 |
output_params->user_flip = GRaw.Flip.FROM_SOURCE; |
Lines 303-311
Link Here
|
303 |
case LibRaw.Result.UNSUPPORTED_THUMBNAIL: |
294 |
case LibRaw.Result.UNSUPPORTED_THUMBNAIL: |
304 |
throw new Exception.UNSUPPORTED_THUMBNAIL(msg); |
295 |
throw new Exception.UNSUPPORTED_THUMBNAIL(msg); |
305 |
|
296 |
|
306 |
case LibRaw.Result.CANNOT_ADDMASK: |
|
|
307 |
throw new Exception.CANNOT_ADDMASK(msg); |
308 |
|
309 |
case LibRaw.Result.UNSUFFICIENT_MEMORY: |
297 |
case LibRaw.Result.UNSUFFICIENT_MEMORY: |
310 |
throw new Exception.OUT_OF_MEMORY(msg); |
298 |
throw new Exception.OUT_OF_MEMORY(msg); |
311 |
|
299 |
|
312 |
-- shotwell-0.11.2.orig/vapi/libraw.vapi |
300 |
++ shotwell-0.11.2/vapi/libraw.vapi |
Lines 171-177
Link Here
|
171 |
[CCode (cname="libraw_init")] |
171 |
[CCode (cname="libraw_init")] |
172 |
public Processor(Options flags = Options.NONE); |
172 |
public Processor(Options flags = Options.NONE); |
173 |
|
173 |
|
174 |
public void add_masked_borders_to_bitmap(); |
|
|
175 |
public Result adjust_sizes_info_only(); |
174 |
public Result adjust_sizes_info_only(); |
176 |
[CCode (cname="libraw_dcraw_document_mode_processing")] |
175 |
[CCode (cname="libraw_dcraw_document_mode_processing")] |
177 |
public Result document_mode_processing(); |
176 |
public Result document_mode_processing(); |
Lines 192-198
Link Here
|
192 |
[CCode (cname="libraw_dcraw_ppm_tiff_writer")] |
191 |
[CCode (cname="libraw_dcraw_ppm_tiff_writer")] |
193 |
public Result ppm_tiff_writer(string outfile); |
192 |
public Result ppm_tiff_writer(string outfile); |
194 |
public void recycle(); |
193 |
public void recycle(); |
195 |
public Result rotate_fuji_raw(); |
|
|
196 |
[CCode (cname="libraw_dcraw_thumb_writer")] |
194 |
[CCode (cname="libraw_dcraw_thumb_writer")] |
197 |
public Result thumb_writer(string outfile); |
195 |
public Result thumb_writer(string outfile); |
198 |
public Result unpack(); |
196 |
public Result unpack(); |